32 #ifndef INCLUDED_GUIBASE 33 #define INCLUDED_GUIBASE 48 #define GUI_OBJECT(obj) \ 50 static IGUIObject* ConstructObject() { return new obj(); } 180 CRect GetClientArea(
const CRect& parent)
const;
196 bool SetClientArea(
const CStr& Value);
200 return pixel == other.
pixel && percent == other.
percent;
213 #endif // INCLUDED_GUIBASE static char * skip(char **buf, const char *delimiters)
Definition: mongoose.cpp:745
Definition: GUIbase.h:129
int m_CellID
Definition: GUIbase.h:155
Made to represent a screen size, should in philosophy be made of unsigned ints, but for the sake of c...
Definition: Shapes.h:207
CStr value
Optional data.
Definition: GUIbase.h:112
SGUIMessage(EGUIMessageType _type, const CStr &_value)
Definition: GUIbase.h:94
Definition: GUIbase.h:135
CRect pixel
Pixel modifiers.
Definition: GUIbase.h:172
Base settings, all objects possess these settings in their m_BaseSettings Instructions can be found i...
Definition: IGUIObject.h:117
Definition: GUIbase.h:135
CRect percent
Percent modifiers.
Definition: GUIbase.h:175
Includes static functions that needs one template argument.
Definition: GUIutil.h:89
ERROR_TYPE(GUI, NullObjectProvided)
Config::Value_type Value
Definition: json_spirit_value.h:181
CStr m_SpriteName
Definition: GUIbase.h:149
EGUIMessageType
Message types.
Definition: GUIbase.h:57
SGUIMessage(EGUIMessageType _type)
Definition: GUIbase.h:93
SGUIIcon()
Definition: GUIbase.h:146
void Skip(bool skip=true)
This method can be used to allow other event handlers to process this GUI event, by default an event ...
Definition: GUIbase.h:102
std::map< CStr, IGUIObject * > map_pObjects
Definition: GUIbase.h:139
Definition: GUIbase.h:136
Definition: GUIbase.h:144
bool skipped
Flag that specifies if object skipped handling the event.
Definition: GUIbase.h:117
std::vector< IGUIObject * > vector_pObjects
Definition: GUIbase.h:140
Definition: GUIbase.h:135
Definition: GUIbase.h:130
Definition: GUIbase.h:136
EAlign
Definition: GUIbase.h:135
CSize m_Size
Definition: GUIbase.h:152
EVAlign
Definition: GUIbase.h:136
Message send to IGUIObject::HandleMessage() in order to give life to Objects manually with a derived ...
Definition: GUIbase.h:91
bool operator==(const CClientArea &other) const
Definition: GUIbase.h:198
EGUIMessageType type
Describes what the message regards.
Definition: GUIbase.h:107
Definition: GUIbase.h:131
Definition: GUIbase.h:136
Rectangle class used for screen rectangles.
Definition: Shapes.h:73
Client Area is a rectangle relative to a parent rectangle.
Definition: GUIbase.h:164