#include <ObjectTransferable.h>
Inheritance diagram for ObjectTransferable::Config:

Public Member Functions | |
| Config (const string &imageFile, const Direction &objectDirection, const Action &objectAction, const string &objectName, const string &objectDescription) | |
| Constructor - initialize whole object. | |
| Config (TiXmlElement *node) | |
| Constructs object using data from XML node. | |
| virtual | ~Config () |
| Destructor. | |
| virtual void | ShowEditationWindow (wxWindow *parent, bool waitUntilClosed=true) |
| Shows editation window where the user can edit the config. | |
| virtual TiXmlElement * | CreateXmlNode () const |
| Creates node representing the config. | |
| virtual const string & | GetObjectClassName () const |
| Returns name of the class, object is supposed to construct. | |
| virtual const wxColour * | GetObjectTextColour () const |
| Returns text colour of the object. | |
| ObjectTransferable::Config::Config | ( | const string & | imageFile, | |
| const Direction & | objectDirection, | |||
| const Action & | objectAction, | |||
| const string & | objectName, | |||
| const string & | objectDescription | |||
| ) | [inline] |
Constructor - initialize whole object.
| imageFile | File containing image | |
| objectDirection | Starting direction | |
| objectAction | Starting action | |
| objectName | contains name of the object | |
| objectDescription | contains description of the object |
| ObjectTransferable::Config::Config | ( | TiXmlElement * | node | ) | [explicit] |
| virtual ObjectTransferable::Config::~Config | ( | ) | [inline, virtual] |
| TiXmlElement * ObjectTransferable::Config::CreateXmlNode | ( | ) | const [virtual] |
| virtual const string& ObjectTransferable::Config::GetObjectClassName | ( | ) | const [inline, virtual] |
| virtual const wxColour* ObjectTransferable::Config::GetObjectTextColour | ( | ) | const [inline, virtual] |
Returns text colour of the object.
This can be used to make differences between objects on the text level.
Implements Object::Config.
| void ObjectTransferable::Config::ShowEditationWindow | ( | wxWindow * | parent, | |
| bool | waitUntilClosed = true | |||
| ) | [virtual] |
Shows editation window where the user can edit the config.
| parent | Parent window | |
| waitUntilClosed | If true, application will be stopped until the window is closed |
Implements EditableInWindowConfig.
1.4.7