Crazy Eddie's GUI System  0.8.5
CEGUI::RenderedStringParser Class Referenceabstract

Specifies interface for classes that parse text into RenderedString objects. More...

+ Inheritance diagram for CEGUI::RenderedStringParser:
+ Collaboration diagram for CEGUI::RenderedStringParser:

Public Member Functions

virtual RenderedString parse (const String &input_string, const Font *initial_font, const ColourRect *initial_colours)=0
 parse a text string and return a RenderedString representation. More...
 

Detailed Description

Specifies interface for classes that parse text into RenderedString objects.

Member Function Documentation

virtual RenderedString CEGUI::RenderedStringParser::parse ( const String input_string,
const Font initial_font,
const ColourRect initial_colours 
)
pure virtual

parse a text string and return a RenderedString representation.

Parameters
input_stringString object holding the text that is to be parsed.
initial_fontPointer to the initial font to be used for text (0 for system default).
initial_coloursPointer to the initial colours to be used (0 for default).
Returns
RenderedString object holding the result of the parse operation.

Implemented in CEGUI::BasicRenderedStringParser, and CEGUI::DefaultRenderedStringParser.