Crazy Eddie's GUI System
0.8.7
|
27 #ifndef _CEGUIFormattingSetting_h_
28 #define _CEGUIFormattingSetting_h_
30 #include "CEGUI/Window.h"
31 #include "CEGUI/falagard/XMLEnumHelper.h"
48 d_propertySource(property_name)
57 T get(
const Window& wnd)
const
59 if (d_propertySource.
empty())
70 d_propertySource.
clear();
80 const String& getPropertySource()
const
82 return d_propertySource;
86 void setPropertySource(
const String& property_name)
88 d_propertySource = property_name;
92 bool isFetchedFromProperty()
const
94 return !d_propertySource.
empty();
100 writeXMLTagToStream(xml_stream);
101 writeXMLAttributesToStream(xml_stream);
112 virtual void writeXMLAttributesToStream(
XMLSerializer& )
const
120 return d_value == rhs.d_value &&
121 d_propertySource == rhs.d_propertySource;
127 return !operator==(rhs);
Class used to create XML Document.
Definition: XMLSerializer.h:87
Main namespace for Crazy Eddie's GUI Library.
Definition: arch_overview.dox:1
void clear(void)
Removes all data from the String.
Definition: String.h:2348
XMLSerializer & closeTag(void)
Close the current tag.
Definition: XMLEnumHelper.h:37
An abstract base class providing common functionality and specifying the required interface for deriv...
Definition: Window.h:151
bool empty(void) const
Returns true if the String is empty.
Definition: String.h:633
String class used within the GUI system.
Definition: String.h:64
String getProperty(const String &name) const
Gets the current value of the specified Property.