32 #ifndef INCLUDED_GUIBASE
33 #define INCLUDED_GUIBASE
62 #define GUI_OBJECT(obj) \
64 static IGUIObject *ConstructObject() { return new obj(); }
static char * skip(char **buf, const char *delimiters)
Made to represent a screen size, should in philosophy be made of unsigned ints, but for the sake of c...
SGUIMessage(EGUIMessageType _type, const CStr &_value)
CRect pixel
Pixel modifiers.
Base settings, all objects possess these settings in their m_BaseSettings Instructions can be found i...
CRect percent
Percent modifiers.
Includes static functions that needs one template argument.
bool SetClientArea(const CStr &Value)
The ClientArea can be set from a string looking like:
EGUIMessageType
Message types.
SGUIMessage(EGUIMessageType _type)
CRect GetClientArea(const CRect &parent) const
Get client area rectangle when the parent is given.
void Skip(bool skip=true)
This method can be used to allow other event handlers to process this GUI event, by default an event ...
std::map< CStr, IGUIObject * > map_pObjects
bool skipped
Flag that specifies if object skipped handling the event.
std::vector< IGUIObject * > vector_pObjects
Message send to IGUIObject::HandleMessage() in order to give life to Objects manually with a derived ...
EGUIMessageType type
Describes what the message regards.
Rectangle class used for screen rectangles.
Client Area is a rectangle relative to a parent rectangle.