Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 12 additions & 15 deletions Sandbox/imgui.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@ Size=400,400
Collapsed=0

[Window][Dear ImGui Demo]
Pos=0,0
Size=1280,38
Size=1280,177
Collapsed=0
DockId=0x00000001,0
DockId=0xC0DFADC4,0

[Window][Example: Assets Browser]
Pos=60,60
Expand Down Expand Up @@ -61,13 +60,13 @@ Collapsed=0

[Window][Console]
Pos=0,0
Size=1280,32
Size=223,720
Collapsed=0
DockId=0x00000001,1
DockId=0x00000003,1

[Window][Editor]
Pos=0,34
Size=170,686
Pos=0,0
Size=223,720
Collapsed=0
DockId=0x00000003,0

Expand Down Expand Up @@ -120,12 +119,10 @@ Column 1 Width=86
Column 2 Width=86

[Docking][Data]
DockSpace ID=0x7A439A10 Pos=0,0 Size=1280,720 Split=Y
DockNode ID=0x00000005 Parent=0x7A439A10 SizeRef=1280,47 Selected=0x1FD6B5CE
DockNode ID=0x00000006 Parent=0x7A439A10 SizeRef=1280,671 CentralNode=1
DockSpace ID=0xC0DFADC4 Window=0xD0388BC8 Pos=0,0 Size=1280,720 Split=Y
DockNode ID=0x00000001 Parent=0xC0DFADC4 SizeRef=1280,32 Selected=0x5E5F7166
DockNode ID=0x00000002 Parent=0xC0DFADC4 SizeRef=1280,686 Split=X
DockNode ID=0x00000003 Parent=0x00000002 SizeRef=170,1369 Selected=0xDF0EC458
DockNode ID=0x00000004 Parent=0x00000002 SizeRef=2388,1369 CentralNode=1
DockSpace ID=0x7A439A10 Pos=0,0 Size=1280,720 Split=Y
DockNode ID=0x00000005 Parent=0x7A439A10 SizeRef=1280,47 Selected=0x1FD6B5CE
DockNode ID=0x00000006 Parent=0x7A439A10 SizeRef=1280,671 CentralNode=1
DockSpace ID=0xC0DFADC4 Window=0xD0388BC8 Pos=0,0 Size=1280,720 Split=X
DockNode ID=0x00000003 Parent=0xC0DFADC4 SizeRef=223,1369 Selected=0xEA83D666
DockNode ID=0x00000004 Parent=0xC0DFADC4 SizeRef=1055,1369 CentralNode=1 Selected=0xEA83D666

4 changes: 1 addition & 3 deletions TrEngine/src/TrEngine/ImGui/ImGuiLayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,9 @@ namespace TrEngine
ImGui::NewFrame();
}

void ImGuiLayer::OnImGuiRender()
void ImGuiLayer::OnImGuiRender()
{
SetupDockSpace();
static bool show = true;
ImGui::ShowDemoWindow(&show);

for (auto it = m_Windows.begin(); it != m_Windows.end();)
{
Expand Down