Crazy Eddie's GUI System
${CEGUI_VERSION}
|
Public Member Functions | |
virtual bool | canSplit () const |
return whether the component can be split | |
virtual ::CEGUI::RenderedStringComponent * | clone () const |
clone this component. | |
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 |
virtual ::CEGUI::Sizef | getPixelSize (::CEGUI::Window const *ref_wnd) const |
virtual ::size_t | getSpaceCount () const |
return the total number of spacing characters in the string. | |
virtual void | setSelection (::CEGUI::Window const *ref_wnd, float const start, float const end) |
virtual ::CEGUI::RenderedStringComponent * | split (::CEGUI::Window const *ref_wnd, float split_point, bool first_component) |
![]() | |
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 Rectf & | getPadding () 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 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 =0 |
draw the component. | |
virtual Sizef | getPixelSize (const Window *ref_wnd) const =0 |
return the pixel size of the rendered component. | |
virtual RenderedStringComponent * | split (const Window *ref_wnd, float split_point, bool first_component)=0 |
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... | |
virtual void | setSelection (const Window *ref_wnd, const float start, const float end)=0 |
mark some region appropriate given /a start and /a end as selected. | |
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 Rectf & | getPadding () 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 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 =0 |
draw the component. | |
virtual Sizef | getPixelSize (const Window *ref_wnd) const =0 |
return the pixel size of the rendered component. | |
virtual RenderedStringComponent * | split (const Window *ref_wnd, float split_point, bool first_component)=0 |
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... | |
virtual void | setSelection (const Window *ref_wnd, const float start, const float end)=0 |
mark some region appropriate given /a start and /a end as selected. | |
Additional Inherited Members | |
![]() | |
RenderedStringComponent () | |
Protected constructor. | |
RenderedStringComponent () | |
Protected constructor. | |
![]() | |
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 Image * | d_selectionImage |
Image to draw for selection. | |