0.3.0
Loading...
Searching...
No Matches
NAV::gui::windows Namespace Reference

Functions

void ApplyDarkLightMode (std::vector< ImVec4 > &colors)
 
void renderGlobalWindows (std::vector< ImVec4 > &colors, const std::vector< const char * > &colorNames)
 Called every frame to render global windows.
 
void ShowColormapEditor (bool *show)
 Shows a window for editing the user defined value colormaps.
 
void ShowFontSizeEditor (bool *show=nullptr)
 Shows a window for choosing the font size.
 
void ShowImPlotStyleEditor (bool *show=nullptr)
 Shows a window for editing the style of the ImPlot windows.
 
void ShowNodeEditorStyleEditor (bool *show, std::vector< ImVec4 > &colors, const std::vector< const char * > &colorNames)
 Shows a window for editing the style of the Node Editor.
 

Variables

bool nodeEditorLightMode
 If true, light mode is selected.
 
bool prefereFlowOverGlobal
 If true, the ImPlot config from the flow file will be preferred over the global settings file.
 
bool saveConfigInFlow
 If true, the ImPlot config will be saved into the flow file.
 
bool showColormapEditor
 Flag whether the Colormap editor window should be displayed.
 
bool showFontSizeEditor
 Flag whether the Font size editor window should be displayed.
 
bool showImGuiDemoWindow
 Flag whether the ImGui Demo window should be displayed.
 
bool showImPlotDemoWindow
 Flag whether the ImPlot Demo window should be displayed.
 
bool showImPlotStyleEditor
 Flag whether the ImPlot style editor windows should be displayed.
 
bool showNodeEditorStyleEditor
 Flag whether the NodeEditor style editor windows should be displayed.
 
bool showScreenshotter
 Flag whether the Screenshotter window should be displayed.
 

Function Documentation

◆ ApplyDarkLightMode()

void NAV::gui::windows::ApplyDarkLightMode ( std::vector< ImVec4 > & colors)

Applies the currently selected mode

Parameters
[in,out]colorsColors of the GUI

Definition at line 114 of file NodeEditorStyleEditor.cpp.

◆ renderGlobalWindows()

void NAV::gui::windows::renderGlobalWindows ( std::vector< ImVec4 > & colors,
const std::vector< const char * > & colorNames )

Called every frame to render global windows.

Parameters
[in,out]colorsColors of the GUI
[in]colorNamesNames for the colors

Definition at line 32 of file Global.cpp.

◆ ShowColormapEditor()

void NAV::gui::windows::ShowColormapEditor ( bool * show)

Shows a window for editing the user defined value colormaps.

Parameters
[in,out]showFlag which indicates whether the window is shown

Definition at line 24 of file ColormapEditor.cpp.

◆ ShowFontSizeEditor()

void NAV::gui::windows::ShowFontSizeEditor ( bool * show = nullptr)

Shows a window for choosing the font size.

Parameters
[in,out]showFlag which indicates whether the window is shown

Definition at line 15 of file FontSizeEditor.cpp.

◆ ShowImPlotStyleEditor()

void NAV::gui::windows::ShowImPlotStyleEditor ( bool * show = nullptr)

Shows a window for editing the style of the ImPlot windows.

Parameters
[in,out]showFlag which indicates whether the window is shown

Definition at line 42 of file ImPlotStyleEditor.cpp.

◆ ShowNodeEditorStyleEditor()

void NAV::gui::windows::ShowNodeEditorStyleEditor ( bool * show,
std::vector< ImVec4 > & colors,
const std::vector< const char * > & colorNames )

Shows a window for editing the style of the Node Editor.

Parameters
[in,out]showFlag which indicates whether the window is shown
[in,out]colorsColors of the GUI
[in]colorNamesNames for the colors

Definition at line 24 of file NodeEditorStyleEditor.cpp.

Variable Documentation

◆ nodeEditorLightMode

bool NAV::gui::windows::nodeEditorLightMode

If true, light mode is selected.

Definition at line 20 of file NodeEditorStyleEditor.cpp.

◆ prefereFlowOverGlobal

bool NAV::gui::windows::prefereFlowOverGlobal

If true, the ImPlot config from the flow file will be preferred over the global settings file.

Definition at line 38 of file ImPlotStyleEditor.cpp.

◆ saveConfigInFlow

bool NAV::gui::windows::saveConfigInFlow

If true, the ImPlot config will be saved into the flow file.

Definition at line 37 of file ImPlotStyleEditor.cpp.

◆ showColormapEditor

bool NAV::gui::windows::showColormapEditor

Flag whether the Colormap editor window should be displayed.

Definition at line 27 of file Global.cpp.

◆ showFontSizeEditor

bool NAV::gui::windows::showFontSizeEditor

Flag whether the Font size editor window should be displayed.

Definition at line 26 of file Global.cpp.

◆ showImGuiDemoWindow

bool NAV::gui::windows::showImGuiDemoWindow

Flag whether the ImGui Demo window should be displayed.

Definition at line 22 of file Global.cpp.

◆ showImPlotDemoWindow

bool NAV::gui::windows::showImPlotDemoWindow

Flag whether the ImPlot Demo window should be displayed.

Definition at line 23 of file Global.cpp.

◆ showImPlotStyleEditor

bool NAV::gui::windows::showImPlotStyleEditor

Flag whether the ImPlot style editor windows should be displayed.

Definition at line 25 of file Global.cpp.

◆ showNodeEditorStyleEditor

bool NAV::gui::windows::showNodeEditorStyleEditor

Flag whether the NodeEditor style editor windows should be displayed.

Definition at line 24 of file Global.cpp.

◆ showScreenshotter

bool NAV::gui::windows::showScreenshotter

Flag whether the Screenshotter window should be displayed.

Definition at line 28 of file Global.cpp.