0.4.1
Loading...
Searching...
No Matches
Global.hpp
Go to the documentation of this file.
1// This file is part of INSTINCT, the INS Toolkit for Integrated
2// Navigation Concepts and Training by the Institute of Navigation of
3// the University of Stuttgart, Germany.
4//
5// This Source Code Form is subject to the terms of the Mozilla Public
6// License, v. 2.0. If a copy of the MPL was not distributed with this
7// file, You can obtain one at https://mozilla.org/MPL/2.0/.
8
9/// @file Global.hpp
10/// @brief Global windows
11/// @author T. Topp (topp@ins.uni-stuttgart.de)
12/// @date 2022-03-22
13
14#pragma once
15
16#include <vector>
17#include <imgui.h>
18
19namespace NAV::gui::windows
20{
21
22/// @brief Flag whether the ImGui Demo window should be displayed
23extern bool showImGuiDemoWindow;
24/// @brief Flag whether the ImPlot Demo window should be displayed
25extern bool showImPlotDemoWindow;
26
27/// @brief Flag whether the NodeEditor style editor windows should be displayed
29/// @brief Flag whether the ImPlot style editor windows should be displayed
30extern bool showImPlotStyleEditor;
31/// @brief Flag whether the Font size editor window should be displayed
32extern bool showFontSizeEditor;
33/// @brief Flag whether the Colormap editor window should be displayed
34extern bool showColormapEditor;
35/// @brief Flag whether the Screenshotter window should be displayed
36extern bool showScreenshotter;
37
38/// @brief Called every frame to render global windows
39/// @param[in, out] colors Colors of the GUI
40/// @param[in] colorNames Names for the colors
41void renderGlobalWindows(std::vector<ImVec4>& colors, const std::vector<const char*>& colorNames);
42
43} // namespace NAV::gui::windows
bool showNodeEditorStyleEditor
Flag whether the NodeEditor style editor windows should be displayed.
Definition Global.cpp:24
bool showFontSizeEditor
Flag whether the Font size editor window should be displayed.
Definition Global.cpp:26
bool showColormapEditor
Flag whether the Colormap editor window should be displayed.
Definition Global.cpp:27
bool showImPlotStyleEditor
Flag whether the ImPlot style editor windows should be displayed.
Definition Global.cpp:25
bool showScreenshotter
Flag whether the Screenshotter window should be displayed.
Definition Global.cpp:28
bool showImPlotDemoWindow
Flag whether the ImPlot Demo window should be displayed.
Definition Global.cpp:23
void renderGlobalWindows(std::vector< ImVec4 > &colors, const std::vector< const char * > &colorNames)
Called every frame to render global windows.
Definition Global.cpp:32
bool showImGuiDemoWindow
Flag whether the ImGui Demo window should be displayed.
Definition Global.cpp:22