|
| BasicRenderedStringParser_wrapper (CEGUI::BasicRenderedStringParser const &arg) |
|
| BasicRenderedStringParser_wrapper (::CEGUI::String const &initial_font, ::CEGUI::ColourRect const &initial_colours) |
|
virtual void | appendRenderedText (::CEGUI::RenderedString &rs, ::CEGUI::String const &text) const |
|
virtual void | default_appendRenderedText (::CEGUI::RenderedString &rs, ::CEGUI::String const &text) const |
|
void | handleAspectLock (::CEGUI::RenderedString &rs, ::CEGUI::String const &value) |
|
void | handleBottomPadding (::CEGUI::RenderedString &rs, ::CEGUI::String const &value) |
|
void | handleColour (::CEGUI::RenderedString &rs, ::CEGUI::String const &value) |
|
void | handleFont (::CEGUI::RenderedString &rs, ::CEGUI::String const &value) |
|
void | handleImage (::CEGUI::RenderedString &rs, ::CEGUI::String const &value) |
|
void | handleImageHeight (::CEGUI::RenderedString &rs, ::CEGUI::String const &value) |
|
void | handleImageSize (::CEGUI::RenderedString &rs, ::CEGUI::String const &value) |
|
void | handleImageWidth (::CEGUI::RenderedString &rs, ::CEGUI::String const &value) |
|
void | handleLeftPadding (::CEGUI::RenderedString &rs, ::CEGUI::String const &value) |
|
void | handlePadding (::CEGUI::RenderedString &rs, ::CEGUI::String const &value) |
|
void | handleRightPadding (::CEGUI::RenderedString &rs, ::CEGUI::String const &value) |
|
void | handleTopPadding (::CEGUI::RenderedString &rs, ::CEGUI::String const &value) |
|
void | handleVertAlignment (::CEGUI::RenderedString &rs, ::CEGUI::String const &value) |
|
void | handleWindow (::CEGUI::RenderedString &rs, ::CEGUI::String const &value) |
|
virtual void | initialiseDefaultState () |
| initialise the default state More...
|
|
virtual void | default_initialiseDefaultState () |
|
void | initialiseTagHandlers () |
|
virtual ::CEGUI::RenderedString | parse (::CEGUI::String const &input_string, ::CEGUI::Font const *initial_font, ::CEGUI::ColourRect const *initial_colours) |
|
::CEGUI::RenderedString | default_parse (::CEGUI::String const &input_string, ::CEGUI::Font const *initial_font, ::CEGUI::ColourRect const *initial_colours) |
|
virtual void | processControlString (::CEGUI::RenderedString &rs, ::CEGUI::String const &ctrl_str) |
|
virtual void | default_processControlString (::CEGUI::RenderedString &rs, ::CEGUI::String const &ctrl_str) |
|
| BasicRenderedStringParser () |
| Constructor.
|
|
| BasicRenderedStringParser (const String &initial_font, const ColourRect &initial_colours) |
| Initialising constructor. More...
|
|
virtual | ~BasicRenderedStringParser () |
| Destructor.
|
|
void | setInitialFontName (const String &font_name) |
| set the initial font name to be used on subsequent calls to parse. More...
|
|
void | setInitialColours (const ColourRect &colours) |
| Set the initial colours to be used on subsequent calls to parse. More...
|
|
const String & | getInitialFontName () const |
| Return the name of the initial font used in each parse. More...
|
|
const ColourRect & | getInitialColours () const |
| Return a ColourRect describing the initial colours used in each parse. More...
|
|
RenderedString | parse (const String &input_string, const Font *active_font, const ColourRect *active_colours) |
| parse a text string and return a RenderedString representation. More...
|
|
| BasicRenderedStringParser () |
| Constructor.
|
|
| BasicRenderedStringParser (const String &initial_font, const ColourRect &initial_colours) |
| Initialising constructor. More...
|
|
virtual | ~BasicRenderedStringParser () |
| Destructor.
|
|
void | setInitialFontName (const String &font_name) |
| set the initial font name to be used on subsequent calls to parse. More...
|
|
void | setInitialColours (const ColourRect &colours) |
| Set the initial colours to be used on subsequent calls to parse. More...
|
|
const String & | getInitialFontName () const |
| Return the name of the initial font used in each parse. More...
|
|
const ColourRect & | getInitialColours () const |
| Return a ColourRect describing the initial colours used in each parse. More...
|
|
RenderedString | parse (const String &input_string, const Font *active_font, const ColourRect *active_colours) |
| parse a text string and return a RenderedString representation. More...
|
|
|
static const String | ColourTagName |
|
static const String | FontTagName |
|
static const String | ImageTagName |
|
static const String | WindowTagName |
|
static const String | VertAlignmentTagName |
|
static const String | PaddingTagName |
|
static const String | TopPaddingTagName |
|
static const String | BottomPaddingTagName |
|
static const String | LeftPaddingTagName |
|
static const String | RightPaddingTagName |
|
static const String | AspectLockTagName |
|
static const String | ImageSizeTagName |
|
static const String | ImageWidthTagName |
|
static const String | ImageHeightTagName |
|
static const String | TopAlignedValueName |
|
static const String | BottomAlignedValueName |
|
static const String | CentreAlignedValueName |
|
static const String | StretchAlignedValueName |
|
typedef void(BasicRenderedStringParser::* | TagHandler) (RenderedString &, const String &) |
| definition of type used for handler functions
|
|
typedef std::map< String, TagHandler, StringFastLessCompare > | TagHandlerMap |
| definition of type used to despatch tag handler functions
|
|
typedef void(BasicRenderedStringParser::* | TagHandler) (RenderedString &, const String &) |
| definition of type used for handler functions
|
|
typedef std::map< String, TagHandler, StringFastLessCompare > | TagHandlerMap |
| definition of type used to despatch tag handler functions
|
|
virtual void | appendRenderedText (RenderedString &rs, const String &text) const |
| append the text string text to the RenderedString rs.
|
|
virtual void | processControlString (RenderedString &rs, const String &ctrl_str) |
| Process the control string ctrl_str.
|
|
void | initialiseTagHandlers () |
| initialise tag handlers
|
|
void | handleColour (RenderedString &rs, const String &value) |
| handlers for the various tags supported
|
|
void | handleFont (RenderedString &rs, const String &value) |
|
void | handleImage (RenderedString &rs, const String &value) |
|
void | handleWindow (RenderedString &rs, const String &value) |
|
void | handleVertAlignment (RenderedString &rs, const String &value) |
|
void | handlePadding (RenderedString &rs, const String &value) |
|
void | handleTopPadding (RenderedString &rs, const String &value) |
|
void | handleBottomPadding (RenderedString &rs, const String &value) |
|
void | handleLeftPadding (RenderedString &rs, const String &value) |
|
void | handleRightPadding (RenderedString &rs, const String &value) |
|
void | handleAspectLock (RenderedString &rs, const String &value) |
|
void | handleImageSize (RenderedString &rs, const String &value) |
|
void | handleImageWidth (RenderedString &rs, const String &value) |
|
void | handleImageHeight (RenderedString &rs, const String &value) |
|
virtual void | appendRenderedText (RenderedString &rs, const String &text) const |
| append the text string text to the RenderedString rs.
|
|
virtual void | processControlString (RenderedString &rs, const String &ctrl_str) |
| Process the control string ctrl_str.
|
|
void | initialiseTagHandlers () |
| initialise tag handlers
|
|
void | handleColour (RenderedString &rs, const String &value) |
| handlers for the various tags supported
|
|
void | handleFont (RenderedString &rs, const String &value) |
|
void | handleImage (RenderedString &rs, const String &value) |
|
void | handleWindow (RenderedString &rs, const String &value) |
|
void | handleVertAlignment (RenderedString &rs, const String &value) |
|
void | handlePadding (RenderedString &rs, const String &value) |
|
void | handleTopPadding (RenderedString &rs, const String &value) |
|
void | handleBottomPadding (RenderedString &rs, const String &value) |
|
void | handleLeftPadding (RenderedString &rs, const String &value) |
|
void | handleRightPadding (RenderedString &rs, const String &value) |
|
void | handleAspectLock (RenderedString &rs, const String &value) |
|
void | handleImageSize (RenderedString &rs, const String &value) |
|
void | handleImageWidth (RenderedString &rs, const String &value) |
|
void | handleImageHeight (RenderedString &rs, const String &value) |
|
String | d_initialFontName |
|
ColourRect | d_initialColours |
|
Rectf | d_padding |
| active padding values.
|
|
ColourRect | d_colours |
| active colour values.
|
|
String | d_fontName |
| active font.
|
|
VerticalFormatting | d_vertAlignment |
| active vertical alignment
|
|
Sizef | d_imageSize |
| active image size
|
|
bool | d_aspectLock |
| active 'aspect lock' state
|
|
bool | d_initialised |
| true if handlers have been registered
|
|
TagHandlerMap | d_tagHandlers |
| Collection to map tag names to their handler functions.
|
|