#include <imguiservice.h>
Public Member Functions | |
virtual rtti::TypeInfo | getServiceType () const override |
![]() | |
Object () | |
virtual | ~Object () |
virtual bool | init (utility::ErrorState &errorState) |
virtual void | onDestroy () |
Object (Object &)=delete | |
Object & | operator= (const Object &)=delete |
Object (Object &&)=delete | |
Object & | operator= (Object &&)=delete |
Public Attributes | |
gui::EColorScheme | mColorScheme = gui::EColorScheme::Dark |
Property: 'Color Scheme' The color scheme to use (dark, light, custom etc.) More... | |
float | mFontSize = 17.0f |
Property: 'Font Size' Gui font size. More... | |
float | mScale = 1.0f |
Property: 'Scale' Overall gui multiplication factor. Applies to the font and all other gui elements. More... | |
std::string | mFontFile = "" |
Property: 'FontFile' Path to a '.ttf' font file. If left empty the default NAP font will be used. More... | |
glm::ivec2 | mFontOversampling = { 5, 3 } |
Property: 'FontSampling' Horizontal and vertical font oversampling, higher values result in sharper text in exchange for more memory. More... | |
float | mFontSpacing = 0.25f |
Property: 'FontSpacing' Extra horizontal spacing (in pixels) between glyphs. More... | |
gui::ColorPalette | mCustomColors |
Property: 'Colors' Color overrides if scheme is set to custom. More... | |
gui::Style | mStyle |
Property: 'Style' Configurable style elements. More... | |
![]() | |
std::string | mID |
Property: 'mID' unique name of the object. Used as an identifier by the system. More... | |
Additional Inherited Members | |
![]() | |
static bool | isIDProperty (rtti::Instance &object, const rtti::Property &property) |
GUI configuration options
|
overridevirtual |
Implements ServiceConfiguration.
gui::EColorScheme mColorScheme = gui::EColorScheme::Dark |
Property: 'Color Scheme' The color scheme to use (dark, light, custom etc.)
gui::ColorPalette mCustomColors |
Property: 'Colors' Color overrides if scheme is set to custom.
std::string mFontFile = "" |
Property: 'FontFile' Path to a '.ttf' font file. If left empty the default NAP font will be used.
glm::ivec2 mFontOversampling = { 5, 3 } |
Property: 'FontSampling' Horizontal and vertical font oversampling, higher values result in sharper text in exchange for more memory.
float mFontSize = 17.0f |
Property: 'Font Size' Gui font size.
float mFontSpacing = 0.25f |
Property: 'FontSpacing' Extra horizontal spacing (in pixels) between glyphs.
float mScale = 1.0f |
Property: 'Scale' Overall gui multiplication factor. Applies to the font and all other gui elements.
gui::Style mStyle |
Property: 'Style' Configurable style elements.