Added comments

This commit is contained in:
Jakob Friedl
2025-09-26 13:24:47 +02:00
parent d477cbd70d
commit 19c073c261
2 changed files with 131 additions and 0 deletions

128
src/client/layout.ini Normal file
View File

@@ -0,0 +1,128 @@
[Window][Sessions [Table View]]
Pos=10,43
Size=1477,305
Collapsed=0
DockId=0x00000003,0
[Window][Listeners]
Pos=10,350
Size=1888,639
Collapsed=0
DockId=0x00000002,0
[Window][Eventlog]
Pos=1489,43
Size=409,305
Collapsed=0
DockId=0x00000004,0
[Window][Dear ImGui Demo]
Collapsed=0
DockId=0x00000004
[Window][Dockspace]
Pos=0,0
Size=1908,999
Collapsed=0
[Window][[7E248CBA] jakob@AURA]
Pos=10,350
Size=1888,639
Collapsed=0
DockId=0x00000002,0
[Window][[7BE69219] jakob@AURA]
Pos=10,350
Size=1888,639
Collapsed=0
DockId=0x00000002
[Window][[CD44669B] jakob@AURA]
Pos=10,350
Size=1888,639
Collapsed=0
DockId=0x00000002
[Window][[F300DB27] jakob@AURA]
Pos=10,350
Size=1888,639
Collapsed=0
DockId=0x00000002
[Window][[AB3464CE] jakob@AURA]
Pos=10,350
Size=1888,639
Collapsed=0
DockId=0x00000002
[Window][[3FC9903D] jakob@AURA]
Pos=10,350
Size=1888,639
Collapsed=0
DockId=0x00000002
[Window][[6CD04F2C] jakob@AURA]
Pos=10,350
Size=1888,639
Collapsed=0
DockId=0x00000002
[Window][[4E93619C] jakob@AURA]
Pos=10,350
Size=1888,639
Collapsed=0
DockId=0x00000002
[Window][[0C56BE7D] jakob@AURA]
Pos=10,350
Size=1888,639
Collapsed=0
DockId=0x00000002
[Window][[37C08F6C] jakob@AURA]
Pos=10,151
Size=1004,639
Collapsed=0
DockId=0x00000002
[Window][[BCC8B616] jakob@AURA]
Pos=10,151
Size=1004,639
Collapsed=0
DockId=0x00000002
[Window][Debug##Default]
Pos=60,60
Size=400,400
Collapsed=0
[Window][[9592878D] jakob@AURA]
Pos=10,350
Size=1888,639
Collapsed=0
DockId=0x00000002,1
[Table][0x32886A44,9]
Column 0 Weight=1.0000
Column 1 Weight=1.0000
Column 2 Weight=1.0000
Column 3 Weight=1.0000
Column 4 Weight=1.0000
Column 5 Weight=1.0000
Column 6 Weight=1.0000
Column 7 Weight=1.0000
Column 8 Weight=1.0000
[Table][0x064A67CC,4]
Column 0 Weight=1.0000
Column 1 Weight=1.0000
Column 2 Weight=1.0000
Column 3 Weight=1.0000
[Docking][Data]
DockSpace ID=0x85940918 Window=0x260A4489 Pos=10,43 Size=1888,946 Split=Y
DockNode ID=0x00000001 Parent=0x85940918 SizeRef=1024,159 Split=X
DockNode ID=0x00000003 Parent=0x00000001 SizeRef=613,159 CentralNode=1 Selected=0x61E02D75
DockNode ID=0x00000004 Parent=0x00000001 SizeRef=409,159 Selected=0x0FA43D88
DockNode ID=0x00000002 Parent=0x85940918 SizeRef=1024,639 Selected=0x326CCD2B

View File

@@ -78,6 +78,9 @@ proc main() =
sessionsTable.agents.add(agent)
# Initialize position of console windows to bottom by drawing them once when they are added
# By default, the consoles are attached to the same DockNode as the Listeners table (Default: bottom),
# so if you place your listeners somewhere else, the console windows show up somewhere else too
# The only case that is not covered is when the listeners table is hidden and the bottom panel was split
var agentConsole = Console(agent)
consoles[agent.agentId] = agentConsole
let listenersWindow = igFindWindowByName("Listeners")