Crazy Eddie's GUI System  ${CEGUI_VERSION}
RenderedStringTextComponent_wrapper Struct Reference
+ Inheritance diagram for RenderedStringTextComponent_wrapper:
+ Collaboration diagram for RenderedStringTextComponent_wrapper:

Public Member Functions

 RenderedStringTextComponent_wrapper (CEGUI::RenderedStringTextComponent const &arg)
 
 RenderedStringTextComponent_wrapper (::CEGUI::String const &text)
 
 RenderedStringTextComponent_wrapper (::CEGUI::String const &text, ::CEGUI::String const &font_name)
 
 RenderedStringTextComponent_wrapper (::CEGUI::String const &text, ::CEGUI::Font const *font)
 
virtual bool canSplit () const
 return whether the component can be split
 
bool default_canSplit () const
 
virtual ::CEGUI::RenderedStringTextComponentclone () const
 clone this component.
 
::CEGUI::RenderedStringTextComponentdefault_clone () const
 
virtual void draw (::CEGUI::Window const *ref_wnd, ::CEGUI::GeometryBuffer &buffer, ::CEGUI::Vector2f const &position, ::CEGUI::ColourRect const *mod_colours, ::CEGUI::Rectf const *clip_rect, float const vertical_space, float const space_extra) const
 
void default_draw (::CEGUI::Window const *ref_wnd, ::CEGUI::GeometryBuffer &buffer, ::CEGUI::Vector2f const &position, ::CEGUI::ColourRect const *mod_colours, ::CEGUI::Rectf const *clip_rect, float const vertical_space, float const space_extra) const
 
::CEGUI::Font const * getEffectiveFont (::CEGUI::Window const *window) const
 
virtual ::CEGUI::Sizef getPixelSize (::CEGUI::Window const *ref_wnd) const
 
::CEGUI::Sizef default_getPixelSize (::CEGUI::Window const *ref_wnd) const
 
virtual ::size_t getSpaceCount () const
 return the total number of spacing characters in the string.
 
::size_t default_getSpaceCount () const
 
virtual void setSelection (::CEGUI::Window const *ref_wnd, float const start, float const end)
 
void default_setSelection (::CEGUI::Window const *ref_wnd, float const start, float const end)
 
virtual ::CEGUI::RenderedStringTextComponentsplit (::CEGUI::Window const *ref_wnd, float split_point, bool first_component)
 
::CEGUI::RenderedStringTextComponentdefault_split (::CEGUI::Window const *ref_wnd, float split_point, bool first_component)
 
- Public Member Functions inherited from CEGUI::RenderedStringTextComponent
 RenderedStringTextComponent ()
 Constructor.
 
 RenderedStringTextComponent (const String &text)
 
 RenderedStringTextComponent (const String &text, const String &font_name)
 
 RenderedStringTextComponent (const String &text, const Font *font)
 
void setText (const String &text)
 Set the text to be rendered by this component.
 
const StringgetText () const
 return the text that will be rendered by this component
 
void setFont (const Font *font)
 set the font to use when rendering the text.
 
void setFont (const String &font_name)
 set the font to use when rendering the text.
 
const FontgetFont () const
 return the font set to be used. If 0 the default font will be used.
 
void setColours (const ColourRect &cr)
 Set the colour values used when rendering this component.
 
void setColours (const Colour &c)
 Set the colour values used when rendering this component.
 
const ColourRectgetColours () const
 return the ColourRect object used when drawing this component.
 
void draw (const Window *ref_wnd, GeometryBuffer &buffer, const Vector2f &position, const ColourRect *mod_colours, const Rectf *clip_rect, const float vertical_space, const float space_extra) const
 draw the component.
 
Sizef getPixelSize (const Window *ref_wnd) const
 return the pixel size of the rendered component.
 
RenderedStringTextComponentsplit (const Window *ref_wnd, float split_point, bool first_component)
 split the component as close to split_point as possible, returning a new RenderedStringComponent of the same type as '*this' holding the left side of the split, and leaving the right side of the split in this object. More...
 
void setSelection (const Window *ref_wnd, const float start, const float end)
 mark some region appropriate given /a start and /a end as selected.
 
 RenderedStringTextComponent ()
 Constructor.
 
 RenderedStringTextComponent (const String &text)
 
 RenderedStringTextComponent (const String &text, const String &font_name)
 
 RenderedStringTextComponent (const String &text, const Font *font)
 
void setText (const String &text)
 Set the text to be rendered by this component.
 
const StringgetText () const
 return the text that will be rendered by this component
 
void setFont (const Font *font)
 set the font to use when rendering the text.
 
void setFont (const String &font_name)
 set the font to use when rendering the text.
 
const FontgetFont () const
 return the font set to be used. If 0 the default font will be used.
 
void setColours (const ColourRect &cr)
 Set the colour values used when rendering this component.
 
void setColours (const Colour &c)
 Set the colour values used when rendering this component.
 
const ColourRectgetColours () const
 return the ColourRect object used when drawing this component.
 
void draw (const Window *ref_wnd, GeometryBuffer &buffer, const Vector2f &position, const ColourRect *mod_colours, const Rectf *clip_rect, const float vertical_space, const float space_extra) const
 draw the component.
 
Sizef getPixelSize (const Window *ref_wnd) const
 return the pixel size of the rendered component.
 
bool canSplit () const
 return whether the component can be split
 
RenderedStringTextComponentsplit (const Window *ref_wnd, float split_point, bool first_component)
 split the component as close to split_point as possible, returning a new RenderedStringComponent of the same type as '*this' holding the left side of the split, and leaving the right side of the split in this object. More...
 
RenderedStringTextComponentclone () const
 clone this component.
 
size_t getSpaceCount () const
 return the total number of spacing characters in the string.
 
void setSelection (const Window *ref_wnd, const float start, const float end)
 mark some region appropriate given /a start and /a end as selected.
 
- Public Member Functions inherited from CEGUI::RenderedStringComponent
virtual ~RenderedStringComponent ()
 Destructor.
 
void setVerticalFormatting (VerticalFormatting fmt)
 Set the VerticalFormatting option for this component.
 
VerticalFormatting getVerticalFormatting () const
 return the current VerticalFormatting option.
 
void setPadding (const Rectf &padding)
 set the padding values.
 
void setLeftPadding (const float padding)
 set the left padding value.
 
void setRightPadding (const float padding)
 set the right padding value.
 
void setTopPadding (const float padding)
 set the top padding value.
 
void setBottomPadding (const float padding)
 set the Bottom padding value.
 
const RectfgetPadding () const
 return the current padding value Rect.
 
float getLeftPadding () const
 return the left padding value.
 
float getRightPadding () const
 return the right padding value.
 
float getTopPadding () const
 return the top padding value.
 
float getBottomPadding () const
 return the bottom padding value.
 
void setAspectLock (const bool setting)
 set the aspect-lock state
 
bool getAspectLock () const
 return the aspect-lock state
 
virtual ~RenderedStringComponent ()
 Destructor.
 
void setVerticalFormatting (VerticalFormatting fmt)
 Set the VerticalFormatting option for this component.
 
VerticalFormatting getVerticalFormatting () const
 return the current VerticalFormatting option.
 
void setPadding (const Rectf &padding)
 set the padding values.
 
void setLeftPadding (const float padding)
 set the left padding value.
 
void setRightPadding (const float padding)
 set the right padding value.
 
void setTopPadding (const float padding)
 set the top padding value.
 
void setBottomPadding (const float padding)
 set the Bottom padding value.
 
const RectfgetPadding () const
 return the current padding value Rect.
 
float getLeftPadding () const
 return the left padding value.
 
float getRightPadding () const
 return the right padding value.
 
float getTopPadding () const
 return the top padding value.
 
float getBottomPadding () const
 return the bottom padding value.
 
void setAspectLock (const bool setting)
 set the aspect-lock state
 
bool getAspectLock () const
 return the aspect-lock state
 

Static Public Member Functions

::size_t getNextTokenLength (::CEGUI::String const &text, ::size_t start_idx)
 

Additional Inherited Members

- Protected Member Functions inherited from CEGUI::RenderedStringTextComponent
const FontgetEffectiveFont (const Window *window) const
 
const FontgetEffectiveFont (const Window *window) const
 
- Protected Member Functions inherited from CEGUI::RenderedStringComponent
 RenderedStringComponent ()
 Protected constructor.
 
 RenderedStringComponent ()
 Protected constructor.
 
- Static Protected Member Functions inherited from CEGUI::RenderedStringTextComponent
static size_t getNextTokenLength (const String &text, size_t start_idx)
 
static size_t getNextTokenLength (const String &text, size_t start_idx)
 
- Protected Attributes inherited from CEGUI::RenderedStringTextComponent
String d_text
 pointer to the image drawn by the component.
 
const Fontd_font
 Font to use for text rendering, 0 for system default.
 
ColourRect d_colours
 ColourRect object describing the colours to use when rendering.
 
size_t d_selectionStart
 last set selection
 
size_t d_selectionLength
 
- Protected Attributes inherited from CEGUI::RenderedStringComponent
Rectf d_padding
 Rect object holding the padding values for this component.
 
VerticalFormatting d_verticalFormatting
 Vertical formatting to be used for this component.
 
bool d_aspectLock
 true if the aspect ratio should be maintained where possible.
 
const Imaged_selectionImage
 Image to draw for selection.