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

#include <StyleScrollBar.hpp>

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

Public Member Functions

 ScrollBarStyle (castor::String const &name, Scene *scene, Engine &engine, castor::String const &fontName)
 
 ScrollBarStyle (castor::String const &name, Engine &engine, castor::String const &fontName)
 
PanelStyle const & getBarStyle () const
 
PanelStyle const & getThumbStyle () const
 
ButtonStyle const & getBeginStyle () const
 
ButtonStyle const & getEndStyle () const
 
PanelStylegetBarStyle ()
 
PanelStylegetThumbStyle ()
 
ButtonStylegetBeginStyle ()
 
ButtonStylegetEndStyle ()
 
- 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
 

Static Public Attributes

static ControlType constexpr Type = ControlType::eScrollBar
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ ScrollBarStyle() [1/2]

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

◆ ScrollBarStyle() [2/2]

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

Member Function Documentation

◆ getBarStyle() [1/2]

PanelStyle & castor3d::ScrollBarStyle::getBarStyle ( )
inline

◆ getBarStyle() [2/2]

PanelStyle const & castor3d::ScrollBarStyle::getBarStyle ( ) const
inline

◆ getBeginStyle() [1/2]

ButtonStyle & castor3d::ScrollBarStyle::getBeginStyle ( )
inline

◆ getBeginStyle() [2/2]

ButtonStyle const & castor3d::ScrollBarStyle::getBeginStyle ( ) const
inline

◆ getEndStyle() [1/2]

ButtonStyle & castor3d::ScrollBarStyle::getEndStyle ( )
inline

◆ getEndStyle() [2/2]

ButtonStyle const & castor3d::ScrollBarStyle::getEndStyle ( ) const
inline

◆ getThumbStyle() [1/2]

PanelStyle & castor3d::ScrollBarStyle::getThumbStyle ( )
inline

◆ getThumbStyle() [2/2]

PanelStyle const & castor3d::ScrollBarStyle::getThumbStyle ( ) const
inline

Member Data Documentation

◆ Type

ControlType constexpr castor3d::ScrollBarStyle::Type = ControlType::eScrollBar
staticconstexpr

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