![]() |
Blamite Game Engine - Keystone
00386.06.16.23.0646.blamite
A library that enables the use of Qt in Blamite's editing tools.
|
Namespace containing functions for the Keystone theme component. More...
Functions | |
KEYSTONE bool | LoadThemes () |
Loads all themes from Qt and the keystone theme folders. More... | |
KEYSTONE bool | ApplyTheme (std::string name) |
Applies a new theme to the application. More... | |
KEYSTONE std::vector< BlamEditorTheme > * | GetThemeList () |
Retrieves the list of loaded themes. More... | |
KEYSTONE BlamEditorTheme * | GetTheme (std::string name) |
Retrieves a theme. More... | |
KEYSTONE BlamEditorTheme * | GetActiveTheme () |
Retrieves the currently selected theme. More... | |
KEYSTONE void | UpdateActiveTheme (BlamEditorTheme *theme) |
Updates the stored index of the current active theme. More... | |
Namespace containing functions for the Keystone theme component.
bool BlamKeystone::Themes::ApplyTheme | ( | std::string | name | ) |
Applies a new theme to the application.
name | - The name of the theme to apply. |
true
if the theme was applied, otherwise returns false
. BlamEditorTheme * BlamKeystone::Themes::GetActiveTheme | ( | ) |
Retrieves the currently selected theme.
nullptr
is returned. BlamEditorTheme * BlamKeystone::Themes::GetTheme | ( | std::string | name | ) |
Retrieves a theme.
name | - The name of the desired theme. |
nullptr
. std::vector< BlamEditorTheme > * BlamKeystone::Themes::GetThemeList | ( | ) |
Retrieves the list of loaded themes.
bool BlamKeystone::Themes::LoadThemes | ( | ) |
Loads all themes from Qt and the keystone theme folders.
true
if all themes were loaded successfully, otherwise returns false
. void BlamKeystone::Themes::UpdateActiveTheme | ( | BlamEditorTheme * | theme | ) |
Updates the stored index of the current active theme.
This is neccessary to ensure that GetActiveTheme returns the correct value.
theme | - The currently active theme. |