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

#include <StyleFrame.hpp>

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

Public Member Functions

 FrameStyle (castor::String const &name, Scene *scene, Engine &engine, castor::String const &fontName)
 
 FrameStyle (castor::String const &name, Engine &engine, castor::String const &fontName)
 
void setHeaderFont (castor::StringView value)
 
void setHeaderTextMaterial (MaterialObs value)
 
castor::String const & getHeaderFontName () const
 
MaterialObs getHeaderTextMaterial () const
 
- 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::eFrame
 

Friends

class FrameCtrl
 

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

◆ FrameStyle() [1/2]

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

◆ FrameStyle() [2/2]

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

Member Function Documentation

◆ getHeaderFontName()

castor::String const & castor3d::FrameStyle::getHeaderFontName ( ) const
inline

References castor3d::StaticStyle::getFontName().

Here is the call graph for this function:

◆ getHeaderTextMaterial()

MaterialObs castor3d::FrameStyle::getHeaderTextMaterial ( ) const
inline

References castor3d::StaticStyle::getTextMaterial().

Here is the call graph for this function:

◆ setHeaderFont()

void castor3d::FrameStyle::setHeaderFont ( castor::StringView value)
inline

References castor3d::StaticStyle::setFont().

Here is the call graph for this function:

◆ setHeaderTextMaterial()

void castor3d::FrameStyle::setHeaderTextMaterial ( MaterialObs value)
inline

References castor3d::StaticStyle::setTextMaterial().

Here is the call graph for this function:

Friends And Related Symbol Documentation

◆ FrameCtrl

friend class FrameCtrl
friend

Member Data Documentation

◆ Type

ControlType constexpr castor3d::FrameStyle::Type = ControlType::eFrame
staticconstexpr

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