File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -9535,7 +9535,6 @@ static void PropagateLayoutSpace(ImGuiLayout* layout, const ImVec2& extents)
9535
9535
{
9536
9536
layout->AvailableSize = extents;
9537
9537
9538
- ImVec2 maximum_extent = ImVec2 (0 .0f , 0 .0f );
9539
9538
for (ImGuiLayout* child = layout->FirstChild ; child; child = child->NextSibling )
9540
9539
{
9541
9540
ImVec2 new_available_size;
@@ -9643,33 +9642,19 @@ static void DistributeAvailableLayoutSpace(ImGuiLayout* layout)
9643
9642
layout->Dirty = ImGuiLayoutDirtyFlags_None;
9644
9643
}
9645
9644
9646
- extern " C" __declspec(dllimport) void __stdcall OutputDebugStringA (const char *);
9647
-
9648
9645
static void ReflowLayouts ()
9649
9646
{
9650
9647
ImGuiContext& g = *GImGui;
9651
9648
9652
- // int count = 0;
9653
9649
for (int i = 0 ; i < g.Layouts .size (); ++i)
9654
9650
{
9655
9651
ImGuiLayout* layout = g.Layouts [i];
9656
9652
if (!layout->Parent && layout->Dirty )
9657
9653
{
9658
9654
CalculateLayoutAvailableSpace (layout);
9659
9655
DistributeAvailableLayoutSpace (layout);
9660
- // ++count;
9661
9656
}
9662
9657
}
9663
-
9664
- // if (count)
9665
- // {
9666
- // char buffer[64];
9667
- // if (count)
9668
- // snprintf(buffer, 63, "HIT! %d\n", count);
9669
- // else
9670
- // snprintf(buffer, 63, "MISS!\n");
9671
- // OutputDebugStringA(buffer);
9672
- // }
9673
9658
}
9674
9659
9675
9660
static ImGuiLayoutItem* PushNextLayoutItem (ImGuiLayout* layout, ImGuiLayoutItemType type)
You can’t perform that action at this time.
0 commit comments