Divide Framework 0.1
A free and open-source 3D Framework under heavy development
Loading...
Searching...
No Matches
Divide::GUIElementBase< EnumVal > Struct Template Reference

#include <GUIElement.h>

+ Inheritance diagram for Divide::GUIElementBase< EnumVal >:

Public Member Functions

 GUIElementBase (const string &name, CEGUI::Window *const parent)
 
GUIType type () const noexcept override
 
- Public Member Functions inherited from Divide::GUIElement
 GUIElement (string name, CEGUI::Window *parent) noexcept
 
virtual void setTooltip (const string &tooltipText)
 
 PROPERTY_RW (string, name, "")
 
 VIRTUAL_PROPERTY_RW (bool, visible, true)
 
 VIRTUAL_PROPERTY_RW (bool, active, false)
 
virtual GUIType type () const noexcept
 
- Public Member Functions inherited from Divide::GUIDWrapper
 GUIDWrapper () noexcept
 
 GUIDWrapper (const GUIDWrapper &old) noexcept
 
 GUIDWrapper (GUIDWrapper &&old) noexcept
 
virtual ~GUIDWrapper ()=default
 
FORCE_INLINE I64 getGUID () const noexcept
 
GUIDWrapperoperator= (const GUIDWrapper &old)=delete
 
GUIDWrapperoperator= (GUIDWrapper &&other)=delete
 

Static Public Attributes

static constexpr GUIType Type = EnumVal
 
- Static Public Attributes inherited from Divide::GUIElement
static constexpr GUIType Type = GUIType::COUNT
 

Additional Inherited Members

- Static Public Member Functions inherited from Divide::GUIDWrapper
static I64 generateGUID () noexcept
 
- Protected Attributes inherited from Divide::GUIElement
CEGUI::Window * _parent
 
- Protected Attributes inherited from Divide::GUIDWrapper
const I64 _guid
 

Detailed Description

template<GUIType EnumVal>
struct Divide::GUIElementBase< EnumVal >

Definition at line 85 of file GUIElement.h.

Constructor & Destructor Documentation

◆ GUIElementBase()

template<GUIType EnumVal>
Divide::GUIElementBase< EnumVal >::GUIElementBase ( const string name,
CEGUI::Window *const  parent 
)
inline

Definition at line 87 of file GUIElement.h.

Member Function Documentation

◆ type()

template<GUIType EnumVal>
GUIType Divide::GUIElementBase< EnumVal >::type ( ) const
inlineoverridevirtualnoexcept

Reimplemented from Divide::GUIElement.

Definition at line 93 of file GUIElement.h.

Member Data Documentation

◆ Type

template<GUIType EnumVal>
constexpr GUIType Divide::GUIElementBase< EnumVal >::Type = EnumVal
staticconstexpr

Definition at line 91 of file GUIElement.h.


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