#include <gui.h>
Public Member Functions | |
Gui (const char *id) | |
virtual | ~Gui () |
const string & | GetCursor (const string &id) const |
byte_t | GetCursorsCount () const |
Protected Member Functions | |
virtual void | ClearHeader () |
virtual void | ClearBody () |
virtual bool | LoadResources () |
virtual void | UnloadResources () |
virtual bool | ReadHeader (Serializer &serializer) |
virtual bool | ReadBody (Serializer &serializer) |
virtual bool | WriteHeader (Serializer &serializer) |
virtual bool | WriteBody (Serializer &serializer) |
bool | ReadCursors (Serializer &serializer) |
Private Types | |
typedef hash_map < string, string > | CursorsMap |
Private Attributes | |
string | name |
Full GUI name. | |
string | author_name |
string | author_contact |
CursorsMap | cursors |
typedef hash_map<string, string> Gui::CursorsMap [private] |
Gui::Gui | ( | const char * | id | ) |
Constructor.
Gui::~Gui | ( | ) | [virtual] |
Destructor.
const string & Gui::GetCursor | ( | const string & | id | ) | const [inline] |
byte_t Gui::GetCursorsCount | ( | ) | const [inline] |
void Gui::ClearHeader | ( | ) | [protected, virtual] |
Reimplemented from Preloaded.
void Gui::ClearBody | ( | ) | [protected, virtual] |
Reimplemented from Preloaded.
bool Gui::LoadResources | ( | ) | [protected, virtual] |
Reimplemented from Preloaded.
void Gui::UnloadResources | ( | ) | [protected, virtual] |
Reimplemented from Preloaded.
bool Gui::ReadHeader | ( | Serializer & | serializer | ) | [protected, virtual] |
Reimplemented from Preloaded.
bool Gui::ReadBody | ( | Serializer & | serializer | ) | [protected, virtual] |
Reimplemented from Preloaded.
bool Gui::WriteHeader | ( | Serializer & | serializer | ) | [protected, virtual] |
Reimplemented from Preloaded.
bool Gui::WriteBody | ( | Serializer & | serializer | ) | [protected, virtual] |
bool Gui::ReadCursors | ( | Serializer & | serializer | ) | [protected] |
string Gui::name [private] |
Full GUI name.
string Gui::author_name [private] |
string Gui::author_contact [private] |
CursorsMap Gui::cursors [private] |