27#ifndef _CEGUIFormattingSetting_h_
28#define _CEGUIFormattingSetting_h_
30#include "CEGUI/Window.h"
31#include "CEGUI/falagard/XMLEnumHelper.h"
59 if (d_propertySource.
empty())
63 wnd.getProperty(d_propertySource));
70 d_propertySource.
clear();
80 const String& getPropertySource()
const
82 return d_propertySource;
92 bool isFetchedFromProperty()
const
94 return !d_propertySource.
empty();
107 virtual void writeXMLAttributesToStream(
XMLSerializer& )
const;
112 return d_value ==
rhs.d_value &&
113 d_propertySource ==
rhs.d_propertySource;
119 return !operator==(
rhs);
134void FormattingSetting<T>::writeXMLAttributesToStream(XMLSerializer& )
const
139template<>
void CEGUIEXPORT FormattingSetting<VerticalFormatting>::writeXMLTagToStream(
140 XMLSerializer& xml_stream)
const;
141template<>
void CEGUIEXPORT FormattingSetting<VerticalFormatting>::writeXMLAttributesToStream(
142 XMLSerializer& xml_stream)
const;
143template<>
void CEGUIEXPORT FormattingSetting<HorizontalFormatting>::writeXMLTagToStream(
144 XMLSerializer& xml_stream)
const;
145template<>
void CEGUIEXPORT FormattingSetting<HorizontalFormatting>::writeXMLAttributesToStream(
146 XMLSerializer& xml_stream)
const;
147template<>
void CEGUIEXPORT FormattingSetting<VerticalTextFormatting>::writeXMLTagToStream(
148 XMLSerializer& xml_stream)
const;
149template<>
void CEGUIEXPORT FormattingSetting<VerticalTextFormatting>::writeXMLAttributesToStream(
150 XMLSerializer& xml_stream)
const;
151template<>
void CEGUIEXPORT FormattingSetting<HorizontalTextFormatting>::writeXMLTagToStream(
152 XMLSerializer& xml_stream)
const;
153template<>
void CEGUIEXPORT FormattingSetting<HorizontalTextFormatting>::writeXMLAttributesToStream(
154 XMLSerializer& xml_stream)
const;
Definition XMLEnumHelper.h:37
String class used within the GUI system.
Definition String.h:64
bool empty(void) const
Returns true if the String is empty.
Definition String.h:633
void clear(void)
Removes all data from the String.
Definition String.h:2348
base class for properties able to do native set/get
Definition TypedProperty.h:50
An abstract base class providing common functionality and specifying the required interface for deriv...
Definition Window.h:151
Class used to create XML Document.
Definition XMLSerializer.h:87
Main namespace for Crazy Eddie's GUI Library.
Definition arch_overview.dox:1