bWidgets
Core widget toolkit designed for Blender
bWidgets::bwStylePropertyInternal< _Type > Class Template Reference
+ Inheritance diagram for bWidgets::bwStylePropertyInternal< _Type >:
+ Collaboration diagram for bWidgets::bwStylePropertyInternal< _Type >:

Public Member Functions

void setValue (const _Type &value)
 
auto getValue () const -> const _Type
 
Property registration
 bwStylePropertyInternal (const std::string_view &name, _Type &reference)
 
 bwStylePropertyInternal (const std::string_view &name)
 
- Public Member Functions inherited from bWidgets::bwStyleProperty
void setValue (bool)
 
void setValue (int)
 
void setValue (float)
 
void setValue (const bwColor &)
 
void setValue (const bwStyleProperty &)
 
void setValueToDefault ()
 
void setDefaultValue (bool)
 
void setDefaultValue (int)
 
void setDefaultValue (float)
 
void setDefaultValue (const bwColor &)
 
auto getIdentifier () const -> std::string_view
 
auto getType () const -> Type
 

Public Attributes

_Type default_value {}
 

Additional Inherited Members

- Public Types inherited from bWidgets::bwStyleProperty
enum class  Type { BOOL , INTEGER , FLOAT , COLOR }
 

Constructor & Destructor Documentation

◆ bwStylePropertyInternal() [1/2]

template<typename _Type >
bWidgets::bwStylePropertyInternal< _Type >::bwStylePropertyInternal ( const std::string_view &  name,
_Type &  reference 
)

◆ bwStylePropertyInternal() [2/2]

template<typename _Type >
bWidgets::bwStylePropertyInternal< _Type >::bwStylePropertyInternal ( const std::string_view &  name)

Member Function Documentation

◆ getValue()

template<typename _Type >
auto bWidgets::bwStylePropertyInternal< _Type >::getValue

◆ setValue()

template<typename _Type >
void bWidgets::bwStylePropertyInternal< _Type >::setValue ( const _Type &  value)

Member Data Documentation

◆ default_value

template<typename _Type >
_Type bWidgets::bwStylePropertyInternal< _Type >::default_value {}

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