27 #ifndef _CEGUIPropertyDefinitionBase_h_
28 #define _CEGUIPropertyDefinitionBase_h_
30 #include "CEGUI/String.h"
46 const String& initialValue,
47 bool redrawOnWrite,
bool layoutOnWrite,
52 const String& getPropertyName()
const;
53 void setPropertyName(
const String& name);
55 const String& getInitialValue()
const;
56 void setInitialValue(
const String& value);
58 const String& getHelpString()
const;
59 void setHelpString(
const String& help);
61 bool isRedrawOnWrite()
const;
62 void setRedrawOnWrite(
bool value);
64 bool isLayoutOnWrite()
const;
65 void setLayoutOnWrite(
bool value);
67 const String& getEventFiredOnWrite()
const;
68 void setEventFiredOnWrite(
const String& eventName);
70 const String& getEventNamespace()
const;
71 void setEventNamespace(
const String& eventNamespace);
81 virtual void writeDefinitionXMLToStream(
XMLSerializer& xml_stream)
const;
97 virtual void writeDefinitionXMLElementType(
XMLSerializer& xml_stream)
const = 0;
109 virtual void writeDefinitionXMLAttributes(
XMLSerializer& xml_stream)
const;
114 bool d_writeCausesRedraw;
115 bool d_writeCausesLayout;
116 String d_eventFiredOnWrite;
common base class used for types representing a new property to be available on all widgets that use ...
Definition: PropertyDefinitionBase.h:42
Main namespace for Crazy Eddie's GUI Library.
Definition: arch_overview.dox:1
static const String UserStringNameSuffix
The PropertyDefinition's user string name suffix, which is appended to each #d_userStringName.
Definition: PropertyDefinitionBase.h:84
Class used to create XML Document.
Definition: XMLSerializer.h:85
String class used within the GUI system.
Definition: String.h:62