28 #ifndef _CEGUIRenderedStringTextComponent_h_
29 #define _CEGUIRenderedStringTextComponent_h_
31 #include "CEGUIRenderedStringComponent.h"
32 #include "CEGUIColourRect.h"
33 #include "CEGUIString.h"
49 void setText(
const String& text);
51 const String& getText()
const;
53 void setFont(
Font* font);
55 void setFont(
const String& font_name);
57 Font* getFont()
const;
61 void setColours(
const colour& c);
68 const float vertical_space,
const float space_extra)
const;
69 Size getPixelSize()
const;
70 bool canSplit()
const;
73 size_t getSpaceCount()
const;
76 static size_t getNextTokenLength(
const String& text,
size_t start_idx);
88 #endif // end of guard _CEGUIRenderedStringTextComponent_h_
Class used as a two dimensional vector (aka a Point)
Definition: CEGUIVector.h:45
Abstract class defining the interface for objects that buffer geometry for later rendering.
Definition: CEGUIGeometryBuffer.h:42
Class that holds the size (width & height) of something.
Definition: CEGUISize.h:43
Class representing colour values within the system.
Definition: CEGUIcolour.h:45
Class that holds details of colours for the four corners of a rectangle.
Definition: CEGUIColourRect.h:44
ColourRect d_colours
ColourRect object describing the colours to use when rendering.
Definition: CEGUIRenderedStringTextComponent.h:83
Base class representing a part of a rendered string. The 'part' represented may be a text string...
Definition: CEGUIRenderedStringComponent.h:43
String component that draws an image.
Definition: CEGUIRenderedStringTextComponent.h:39
Class that encapsulates a typeface.
Definition: CEGUIFont.h:58
String d_text
pointer to the image drawn by the component.
Definition: CEGUIRenderedStringTextComponent.h:79
Font * d_font
Font to use for text rendering, 0 for system default.
Definition: CEGUIRenderedStringTextComponent.h:81
Class encapsulating operations on a Rectangle.
Definition: CEGUIRect.h:44
String class used within the GUI system.
Definition: CEGUIString.h:57