|
imgui-platform-kit 2.0.0
Cross-platform Dear ImGui application framework
|
Visual style of the user interface (theme and window styling). More...
#include <user_interface_parameters.h>
Public Member Functions | |
| StyleParameters () | |
| Constructs style parameters with the default theme. | |
| StyleParameters (Theme theme) | |
| Constructs style parameters with the given theme. | |
| StyleParameters (Theme theme, ImVec4 bgColor) | |
| Constructs style parameters with the given theme and background colour. | |
| void | apply () const |
| Applies the style to the current ImGui context. | |
Public Attributes | |
| Theme | theme |
| Colour theme applied to the interface (see imgui_kit::Theme). | |
| ImVec4 | windowBgColor |
| Background colour of the main window. | |
| ImVec2 | windowPadding |
| Padding within windows, in pixels. | |
| float | windowRounding |
| Corner rounding radius of windows, in pixels. | |
| float | transparency |
| Overall window transparency (alpha), 0.0-1.0. | |
| ImVec4 | textColor |
| Default text colour. | |
Visual style of the user interface (theme and window styling).
| imgui_kit::StyleParameters::StyleParameters | ( | ) |
Constructs style parameters with the default theme.
| imgui_kit::StyleParameters::StyleParameters | ( | Theme | theme | ) |
Constructs style parameters with the given theme.
| theme | Colour theme to apply. |
| imgui_kit::StyleParameters::StyleParameters | ( | Theme | theme, |
| ImVec4 | bgColor | ||
| ) |
Constructs style parameters with the given theme and background colour.
| theme | Colour theme to apply. |
| bgColor | Background colour of the main window. |
| void imgui_kit::StyleParameters::apply | ( | ) | const |
Applies the style to the current ImGui context.
| ImVec4 imgui_kit::StyleParameters::textColor |
Default text colour.
| Theme imgui_kit::StyleParameters::theme |
Colour theme applied to the interface (see imgui_kit::Theme).
| float imgui_kit::StyleParameters::transparency |
Overall window transparency (alpha), 0.0-1.0.
| ImVec4 imgui_kit::StyleParameters::windowBgColor |
Background colour of the main window.
| ImVec2 imgui_kit::StyleParameters::windowPadding |
Padding within windows, in pixels.
| float imgui_kit::StyleParameters::windowRounding |
Corner rounding radius of windows, in pixels.