bWidgets
Core widget toolkit designed for Blender
bWidgets::bwStyleManager Class Reference

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 >
 

Detailed Description

Singleton class for managing styles through type ID's.

Member Typedef Documentation

◆ StyleTypeArray

Member Function Documentation

◆ createStyleFromTypeID()

auto bWidgets::bwStyleManager::createStyleFromTypeID ( bwStyle::TypeID  type_id) -> std::unique_ptr<bwStyle>
static

◆ getBuiltinStyleTypes()

auto bWidgets::bwStyleManager::getBuiltinStyleTypes ( ) const -> const StyleTypeArray&

◆ getStyleManager()

bwStyleManager & bWidgets::bwStyleManager::getStyleManager ( ) -> bwStyleManager&
static

◆ registerDefaultStyleTypes()

void bWidgets::bwStyleManager::registerDefaultStyleTypes ( )

The documentation for this class was generated from the following files: