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

#include <StyleEdit.hpp>

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

Public Member Functions

 EditStyle (castor::String const &name, Scene *scene, Engine &engine, castor::String const &fontName)
 
 EditStyle (castor::String const &name, Engine &engine, castor::String const &fontName)
 
void setFont (castor::StringView value)
 
void setTextMaterial (MaterialObs material)
 
void setSelectionMaterial (MaterialObs material)
 
castor::String const & getFontName () const
 
MaterialObs getTextMaterial () const
 
MaterialObs getSelectionMaterial () 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
 
- 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::eEdit
 

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

◆ EditStyle() [1/2]

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

◆ EditStyle() [2/2]

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

Member Function Documentation

◆ getFontName()

castor::String const & castor3d::EditStyle::getFontName ( ) const
inline

◆ getSelectionMaterial()

MaterialObs castor3d::EditStyle::getSelectionMaterial ( ) const
inline

◆ getTextMaterial()

MaterialObs castor3d::EditStyle::getTextMaterial ( ) const
inline

◆ setFont()

void castor3d::EditStyle::setFont ( castor::StringView value)
inline

◆ setSelectionMaterial()

void castor3d::EditStyle::setSelectionMaterial ( MaterialObs material)
inline

◆ setTextMaterial()

void castor3d::EditStyle::setTextMaterial ( MaterialObs material)
inline

Member Data Documentation

◆ Type

ControlType constexpr castor3d::EditStyle::Type = ControlType::eEdit
staticconstexpr

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