7 #ifndef CAFU_GUIEDITOR_COMPONENT_SELECTION_HPP_INCLUDED
8 #define CAFU_GUIEDITOR_COMPONENT_SELECTION_HPP_INCLUDED
10 #include "GuiSys/CompBase.hpp"
27 bool IsSelected()
const {
return m_IsSelected; }
28 void SetSelected(
bool Sel) { m_IsSelected = Sel; }
32 const char*
GetName()
const {
return "Selection"; }
45 static const luaL_Reg MethodsList[];
46 static int toString(lua_State* LuaState);
ComponentSelectionT * Clone() const
The virtual copy constructor.
Definition: CompSelection.cpp:53
This is the base class for the components that a window is composed/aggregated of.
Definition: CompBase.hpp:51
void Render() const
This method implements the graphical output of this component.
Definition: CompSelection.cpp:59
ComponentSelectionT()
The constructor.
Definition: CompSelection.cpp:39
This components reflects the selection state of its window.
Definition: CompSelection.hpp:16
const char * GetName() const
Returns the name of this component.
Definition: CompSelection.hpp:32
Definition: TypeSys.hpp:52
This class keeps type information (about an entity class that occurs in the game).
Definition: TypeSys.hpp:79