Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenXG
OpenXG-RAN
Commits
ef803d02
Commit
ef803d02
authored
Oct 10, 2024
by
Bartosz Podrygajlo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add default docking window layout for imscope
parent
fddc52de
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
113 additions
and
0 deletions
+113
-0
openair1/PHY/TOOLS/imscope/CMakeLists.txt
openair1/PHY/TOOLS/imscope/CMakeLists.txt
+1
-0
openair1/PHY/TOOLS/imscope/imgui.ini
openair1/PHY/TOOLS/imscope/imgui.ini
+99
-0
openair1/PHY/TOOLS/imscope/imscope.cpp
openair1/PHY/TOOLS/imscope/imscope.cpp
+13
-0
No files found.
openair1/PHY/TOOLS/imscope/CMakeLists.txt
View file @
ef803d02
...
...
@@ -32,3 +32,4 @@ target_include_directories(implot PUBLIC ${implot_SOURCE_DIR})
add_library
(
imscope MODULE imscope.cpp ../phy_scope_interface.c
)
target_link_libraries
(
imscope PUBLIC imgui_glfw_backend glfw imgui_opengl_renderer OpenGL::OpenGL implot UTIL
)
set_target_properties
(
imscope PROPERTIES LIBRARY_OUTPUT_DIRECTORY
${
CMAKE_BINARY_DIR
}
)
configure_file
(
imgui.ini
${
CMAKE_BINARY_DIR
}
/imscope-init.ini COPYONLY
)
openair1/PHY/TOOLS/imscope/imgui.ini
0 → 100644
View file @
ef803d02
[Window][Debug##Default]
Pos
=
60,60
Size
=
400,400
Collapsed
=
0
[Window][NR KPI]
Pos
=
0,19
Size
=
1133,667
Collapsed
=
0
DockId
=
0x00000005,0
[Window][Dear ImGui Demo]
Pos
=
531,19
Size
=
529,667
Collapsed
=
0
DockId
=
0x00000002,0
[Window][ImPlot Demo]
Pos
=
531,19
Size
=
529,667
Collapsed
=
0
DockId
=
0x00000002,0
[Window][WindowOverViewport_11111111]
Pos
=
0,19
Size
=
1280,701
Collapsed
=
0
[Window][Status bar]
Pos
=
0,688
Size
=
1280,32
Collapsed
=
0
DockId
=
0x00000004,0
[Window][Global scope settings]
Pos
=
1038,19
Size
=
242,667
Collapsed
=
0
DockId
=
0x00000006,0
[Window][UE KPI]
Pos
=
532,19
Size
=
528,667
Collapsed
=
0
DockId
=
0x00000008,0
[Window][UE PDSCH IQ]
Pos
=
0,19
Size
=
530,667
Collapsed
=
0
DockId
=
0x00000005,1
[Window][Time domain samples]
Pos
=
0,19
Size
=
1036,667
Collapsed
=
0
DockId
=
0x00000005,0
[Window][Time domain samples - before sync]
Pos
=
0,19
Size
=
530,667
Collapsed
=
0
DockId
=
0x00000005,2
[Window][Broadcast channel]
Pos
=
0,19
Size
=
530,667
Collapsed
=
0
DockId
=
0x00000005,3
[Window][RX IQ]
Pos
=
532,19
Size
=
528,667
Collapsed
=
0
DockId
=
0x00000008,0
[Window][PUSCH SLOT IQ]
Pos
=
0,19
Size
=
1036,667
Collapsed
=
0
DockId
=
0x00000005,1
[Window][PUSCH LLRs]
Pos
=
0,19
Size
=
1036,667
Collapsed
=
0
DockId
=
0x00000005,2
[Docking][Data]
DockSpace
ID
=
0x7C6B3D9B Window=0xA87D555D Pos=0,19 Size=1280,701 Split=Y Selected=0x71C89FCB
DockNode
ID
=
0x00000003 Parent=0x7C6B3D9B SizeRef=1280,667 Split=X
DockNode
ID
=
0x00000001 Parent=0x00000003 SizeRef=1319,720 Split=X Selected=0x6627CA6C
DockNode
ID
=
0x00000007 Parent=0x00000001 SizeRef=530,667 Split=X Selected=0x93FDECFF
DockNode
ID
=
0x00000005 Parent=0x00000007 SizeRef=1036,334 CentralNode=1 Selected=0x93FDECFF
DockNode
ID
=
0x00000006 Parent=0x00000007 SizeRef=242,334 Selected=0xFAA8D9D5
DockNode
ID
=
0x00000008 Parent=0x00000001 SizeRef=528,667 Selected=0x6627CA6C
DockNode
ID
=
0x00000002 Parent=0x00000003 SizeRef=529,720 Selected=0xB903C8C9
DockNode
ID
=
0x00000004 Parent=0x7C6B3D9B SizeRef=1280,32 HiddenTabBar=1 Selected=0xD9B9B9C7
openair1/PHY/TOOLS/imscope/imscope.cpp
View file @
ef803d02
...
...
@@ -693,6 +693,13 @@ void *imscope_thread(void *data_void_ptr)
// Start the Dear ImGui frame
ImGui_ImplOpenGL3_NewFrame
();
ImGui_ImplGlfw_NewFrame
();
static
bool
reset_ini_settings
=
false
;
if
(
reset_ini_settings
)
{
ImGui
::
LoadIniSettingsFromDisk
(
"imscope-init.ini"
);
reset_ini_settings
=
false
;
}
ImGui
::
NewFrame
();
int
display_w
,
display_h
;
...
...
@@ -714,6 +721,12 @@ void *imscope_thread(void *data_void_ptr)
ImGui
::
Checkbox
(
"Show implot demo window"
,
&
show_implot_demo_window
);
ImGui
::
EndMenu
();
}
if
(
ImGui
::
BeginMenu
(
"Layout"
))
{
if
(
ImGui
::
MenuItem
(
"Reset"
))
{
reset_ini_settings
=
true
;
}
ImGui
::
EndMenu
();
}
ImGui
::
EndMainMenuBar
();
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment