Castor3D 0.16.0
Multiplatform 3D engine
Public Member Functions | Static Public Attributes | List of all members
castor3d::PanelStyle Class Reference

#include <StylePanel.hpp>

Inheritance diagram for castor3d::PanelStyle:
Inheritance graph
[legend]
Collaboration diagram for castor3d::PanelStyle:
Collaboration graph
[legend]

Public Member Functions

 PanelStyle (castor::String const &name, Engine &engine)
 
 PanelStyle (castor::String const &name, Scene *scene, Engine &engine)
 
- Public Member Functions inherited from castor3d::ControlStyle
virtual C3D_API ~ControlStyle () noexcept=default
 
 ControlStyle (ControlType type, castor::String const &name, Scene *scene, Engine &engine, MouseCursor cursor=MouseCursor::eArrow)
 
void setBackgroundMaterial (MaterialObs value)
 
void setForegroundMaterial (MaterialObs value)
 
void setCursor (MouseCursor value) noexcept
 
void setBackgroundInvisible (bool value) noexcept
 
void setForegroundInvisible (bool value) noexcept
 
bool isBackgroundInvisible () const noexcept
 
bool isForegroundInvisible () const noexcept
 
MaterialObs getBackgroundMaterial () const noexcept
 
MaterialObs getForegroundMaterial () const noexcept
 
ControlType getType () const noexcept
 
MouseCursor getCursor () const noexcept
 
EnginegetEngine () const noexcept
 
bool hasScene () const noexcept
 
ScenegetScene () const noexcept
 
- Public Member Functions inherited from castor::NamedBaseT< T >
 NamedBaseT (T name) noexcept
 Constructor.
 
T const & getName () const noexcept
 Retrieves the name.
 
void rename (T name) noexcept
 
- Public Member Functions inherited from castor3d::StylesHolder
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
 
- Public Member Functions inherited from castor3d::ScrollableStyle
void setVerticalStyle (ScrollBarStyle &v)
 
void setHorizontalStyle (ScrollBarStyle &v)
 
bool hasVerticalStyle () const noexcept
 
bool hasHorizontalStyle () const noexcept
 
ScrollBarStylegetVerticalStyle () const noexcept
 
ScrollBarStylegetHorizontalStyle () const noexcept
 

Static Public Attributes

static ControlType constexpr Type = ControlType::ePanel
 

Additional Inherited Members

- Protected Member Functions inherited from castor3d::ControlStyle
MaterialObs doCreateMaterial (MaterialObs material, float offset, castor::String const &suffix) const
 
- Protected Member Functions inherited from castor3d::StylesHolder
auto & getHolderName () const noexcept
 
void cleanupStyles () noexcept
 
- Protected Attributes inherited from castor::NamedBaseT< T >
m_name
 

Constructor & Destructor Documentation

◆ PanelStyle() [1/2]

castor3d::PanelStyle::PanelStyle ( castor::String const & name,
Engine & engine )
inline

◆ PanelStyle() [2/2]

castor3d::PanelStyle::PanelStyle ( castor::String const & name,
Scene * scene,
Engine & engine )
inline

Member Data Documentation

◆ Type

ControlType constexpr castor3d::PanelStyle::Type = ControlType::ePanel
staticconstexpr

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