![]() |
Castor3D 0.17.0
Multiplatform 3D engine
|
#include <StylesHolder.hpp>

Public Member Functions | |
| virtual C3D_API | ~StylesHolder () noexcept=default |
| StylesHolder (castor::String name, Engine &engine) | |
| castor::FontResPtr | getDefaultFont () const |
| Retrieves the default font used by controls. | |
| void | setDefaultFont (castor::FontResPtr font) |
| sets the default font used by controls | |
| C3D_API ButtonStyleRPtr | createButtonStyle (castor::String name, Scene *scene) |
| C3D_API ComboBoxStyleRPtr | createComboBoxStyle (castor::String name, Scene *scene) |
| C3D_API EditStyleRPtr | createEditStyle (castor::String name, Scene *scene) |
| C3D_API ExpandablePanelStyleRPtr | createExpandablePanelStyle (castor::String name, Scene *scene) |
| C3D_API FrameStyleRPtr | createFrameStyle (castor::String name, Scene *scene) |
| C3D_API ListBoxStyleRPtr | createListBoxStyle (castor::String name, Scene *scene) |
| C3D_API PanelStyleRPtr | createPanelStyle (castor::String name, Scene *scene) |
| C3D_API ProgressStyleRPtr | createProgressStyle (castor::String name, Scene *scene) |
| C3D_API ScrollBarStyleRPtr | createScrollBarStyle (castor::String name, Scene *scene) |
| C3D_API SliderStyleRPtr | createSliderStyle (castor::String name, Scene *scene) |
| C3D_API StaticStyleRPtr | createStaticStyle (castor::String name, Scene *scene) |
| virtual C3D_API ButtonStyleRPtr | getButtonStyle (castor::String const &name) const |
| virtual C3D_API ComboBoxStyleRPtr | getComboBoxStyle (castor::String const &name) const |
| virtual C3D_API EditStyleRPtr | getEditStyle (castor::String const &name) const |
| virtual C3D_API ExpandablePanelStyleRPtr | getExpandablePanelStyle (castor::String const &name) const |
| virtual C3D_API FrameStyleRPtr | getFrameStyle (castor::String const &name) const |
| virtual C3D_API ListBoxStyleRPtr | getListBoxStyle (castor::String const &name) const |
| virtual C3D_API PanelStyleRPtr | getPanelStyle (castor::String const &name) const |
| virtual C3D_API ProgressStyleRPtr | getProgressStyle (castor::String const &name) const |
| virtual C3D_API ScrollBarStyleRPtr | getScrollBarStyle (castor::String const &name) const |
| virtual C3D_API SliderStyleRPtr | getSliderStyle (castor::String const &name) const |
| virtual C3D_API StaticStyleRPtr | getStaticStyle (castor::String const &name) const |
| template<typename StyleT > | |
| StyleT * | getStyle (castor::String const &name) const |
| auto & | getButtonStyles () const noexcept |
| auto & | getComboBoxStyles () const noexcept |
| auto & | getEditStyles () const noexcept |
| auto & | getExpandablePanelStyles () const noexcept |
| auto & | getFrameStyles () const noexcept |
| auto & | getListBoxStyles () const noexcept |
| auto & | getPanelStyles () const noexcept |
| auto & | getProgressStyles () const noexcept |
| auto & | getScrollBarStyles () const noexcept |
| auto & | getSliderStyles () const noexcept |
| auto & | getStaticStyles () const noexcept |
| bool | isEmpty () const noexcept |
Protected Member Functions | |
| auto & | getHolderName () const noexcept |
| void | cleanupStyles () noexcept |
|
virtualdefaultnoexcept |
|
inlineexplicit |
|
inlineprotectednoexcept |
| C3D_API ButtonStyleRPtr castor3d::StylesHolder::createButtonStyle | ( | castor::String | name, |
| Scene * | scene ) |
| C3D_API ComboBoxStyleRPtr castor3d::StylesHolder::createComboBoxStyle | ( | castor::String | name, |
| Scene * | scene ) |
| C3D_API EditStyleRPtr castor3d::StylesHolder::createEditStyle | ( | castor::String | name, |
| Scene * | scene ) |
| C3D_API ExpandablePanelStyleRPtr castor3d::StylesHolder::createExpandablePanelStyle | ( | castor::String | name, |
| Scene * | scene ) |
| C3D_API FrameStyleRPtr castor3d::StylesHolder::createFrameStyle | ( | castor::String | name, |
| Scene * | scene ) |
| C3D_API ListBoxStyleRPtr castor3d::StylesHolder::createListBoxStyle | ( | castor::String | name, |
| Scene * | scene ) |
| C3D_API PanelStyleRPtr castor3d::StylesHolder::createPanelStyle | ( | castor::String | name, |
| Scene * | scene ) |
| C3D_API ProgressStyleRPtr castor3d::StylesHolder::createProgressStyle | ( | castor::String | name, |
| Scene * | scene ) |
| C3D_API ScrollBarStyleRPtr castor3d::StylesHolder::createScrollBarStyle | ( | castor::String | name, |
| Scene * | scene ) |
| C3D_API SliderStyleRPtr castor3d::StylesHolder::createSliderStyle | ( | castor::String | name, |
| Scene * | scene ) |
| C3D_API StaticStyleRPtr castor3d::StylesHolder::createStaticStyle | ( | castor::String | name, |
| Scene * | scene ) |
|
virtual |
Reimplemented in castor3d::ControlsManager.
Referenced by getStyle().

|
inlinenoexcept |
|
virtual |
Reimplemented in castor3d::ControlsManager.
Referenced by getStyle().

|
inlinenoexcept |
|
inline |
Retrieves the default font used by controls.
|
virtual |
Reimplemented in castor3d::ControlsManager.
Referenced by getStyle().

|
inlinenoexcept |
|
virtual |
Reimplemented in castor3d::ControlsManager.
Referenced by getStyle().

|
inlinenoexcept |
|
virtual |
Reimplemented in castor3d::ControlsManager.
Referenced by getStyle().

|
inlinenoexcept |
|
inlineprotectednoexcept |
|
virtual |
Reimplemented in castor3d::ControlsManager.
Referenced by getStyle().

|
inlinenoexcept |
|
virtual |
Reimplemented in castor3d::ControlsManager.
Referenced by getStyle().

|
inlinenoexcept |
|
virtual |
Reimplemented in castor3d::ControlsManager.
Referenced by getStyle().

|
inlinenoexcept |
|
virtual |
Reimplemented in castor3d::ControlsManager.
Referenced by getStyle().

|
inlinenoexcept |
|
virtual |
Reimplemented in castor3d::ControlsManager.
Referenced by getStyle().

|
inlinenoexcept |
|
virtual |
Reimplemented in castor3d::ControlsManager.
Referenced by getStyle().

|
inlinenoexcept |
|
inline |
References cuT, castor3d::log::error, getButtonStyle(), getComboBoxStyle(), getEditStyle(), getExpandablePanelStyle(), getFrameStyle(), getListBoxStyle(), getPanelStyle(), getProgressStyle(), getScrollBarStyle(), getSliderStyle(), and getStaticStyle().

|
inlinenoexcept |
|
inline |
sets the default font used by controls
| [in] | font | The font |