bWidgets
Core widget toolkit designed for Blender
|
Singleton class for managing styles through type ID's. More...
#include <bwStyleManager.h>
Public Types | |
using | StyleTypeArray = std::array< bwStyle::StyleType, int(bwStyle::TypeID::BUILTIN_TOT)> |
Public Member Functions | |
void | registerDefaultStyleTypes () |
auto | getBuiltinStyleTypes () const -> const StyleTypeArray & |
Static Public Member Functions | |
static auto | getStyleManager () -> bwStyleManager & |
static auto | createStyleFromTypeID (bwStyle::TypeID type_id) -> std::unique_ptr< bwStyle > |
Singleton class for managing styles through type ID's.
using bWidgets::bwStyleManager::StyleTypeArray = std::array<bwStyle::StyleType, int(bwStyle::TypeID::BUILTIN_TOT)> |
|
static |
auto bWidgets::bwStyleManager::getBuiltinStyleTypes | ( | ) | const -> const StyleTypeArray& |
|
static |
void bWidgets::bwStyleManager::registerDefaultStyleTypes | ( | ) |