Crazy Eddie's GUI System
${CEGUI_VERSION}
|
Public Member Functions | |
RenderedString_wrapper (::CEGUI::RenderedString const &other) | |
void | cloneComponentList (::std::vector< CEGUI::RenderedStringComponent * > const &list) |
![]() | |
RenderedString () | |
Constructor. | |
virtual | ~RenderedString () |
Destructor. | |
void | draw (const Window *ref_wnd, const size_t line, GeometryBuffer &buffer, const Vector2f &position, const ColourRect *mod_colours, const Rectf *clip_rect, const float space_extra) const |
Draw the string to a GeometryBuffer. More... | |
Sizef | getPixelSize (const Window *ref_wnd, const size_t line) const |
Return the pixel size of a specified line for the RenderedString. More... | |
float | getHorizontalExtent (const Window *ref_wnd) const |
Return the maximum horizontal extent of all lines, in pixels. | |
float | getVerticalExtent (const Window *ref_wnd) const |
Return the sum vertical extent of all lines, in pixels. | |
void | appendComponent (const RenderedStringComponent &component) |
append component to the list of components drawn for this string. | |
void | clearComponents () |
clear the list of components drawn for this string. | |
size_t | getComponentCount () const |
return the number of components that make up this string. | |
void | split (const Window *ref_wnd, const size_t line, float split_point, RenderedString &left) |
split the string in line line as close to split_point as possible. More... | |
size_t | getSpaceCount (const size_t line) const |
return the total number of spacing characters in the specified line. | |
void | appendLineBreak () |
linebreak the rendered string at the present position. | |
size_t | getLineCount () const |
return number of lines in this string. | |
void | setSelection (const Window *ref_wnd, float start, float end) |
set selection highlight | |
RenderedString (const RenderedString &other) | |
Copy constructor. | |
RenderedString & | operator= (const RenderedString &rhs) |
Assignment. | |
RenderedString () | |
Constructor. | |
virtual | ~RenderedString () |
Destructor. | |
void | draw (const Window *ref_wnd, const size_t line, GeometryBuffer &buffer, const Vector2f &position, const ColourRect *mod_colours, const Rectf *clip_rect, const float space_extra) const |
Draw the string to a GeometryBuffer. More... | |
Sizef | getPixelSize (const Window *ref_wnd, const size_t line) const |
Return the pixel size of a specified line for the RenderedString. More... | |
float | getHorizontalExtent (const Window *ref_wnd) const |
Return the maximum horizontal extent of all lines, in pixels. | |
float | getVerticalExtent (const Window *ref_wnd) const |
Return the sum vertical extent of all lines, in pixels. | |
void | appendComponent (const RenderedStringComponent &component) |
append component to the list of components drawn for this string. | |
void | clearComponents () |
clear the list of components drawn for this string. | |
size_t | getComponentCount () const |
return the number of components that make up this string. | |
void | split (const Window *ref_wnd, const size_t line, float split_point, RenderedString &left) |
split the string in line line as close to split_point as possible. More... | |
size_t | getSpaceCount (const size_t line) const |
return the total number of spacing characters in the specified line. | |
void | appendLineBreak () |
linebreak the rendered string at the present position. | |
size_t | getLineCount () const |
return number of lines in this string. | |
void | setSelection (const Window *ref_wnd, float start, float end) |
set selection highlight | |
RenderedString (const RenderedString &other) | |
Copy constructor. | |
RenderedString & | operator= (const RenderedString &rhs) |
Assignment. | |
Static Public Member Functions | |
static void | clearComponentList (::std::vector< CEGUI::RenderedStringComponent * > &list) |
Additional Inherited Members | |
![]() | |
typedef std::vector < RenderedStringComponent *CEGUI_VECTOR_ALLOC(RenderedStringComponent *)> | ComponentList |
Collection type used to hold the string components. | |
typedef std::pair< size_t, size_t > | LineInfo |
track info for a line. first is componetn idx, second is component count. | |
typedef std::vector< LineInfo CEGUI_VECTOR_ALLOC(LineInfo)> | LineList |
Collection type used to hold details about the lines. | |
typedef std::vector < RenderedStringComponent *CEGUI_VECTOR_ALLOC(RenderedStringComponent *)> | ComponentList |
Collection type used to hold the string components. | |
typedef std::pair< size_t, size_t > | LineInfo |
track info for a line. first is componetn idx, second is component count. | |
typedef std::vector< LineInfo CEGUI_VECTOR_ALLOC(LineInfo)> | LineList |
Collection type used to hold details about the lines. | |
![]() | |
void | cloneComponentList (const ComponentList &list) |
Make this object's component list a clone of list. | |
void | cloneComponentList (const ComponentList &list) |
Make this object's component list a clone of list. | |
![]() | |
static void | clearComponentList (ComponentList &list) |
Free components in the given ComponentList and clear the list. | |
static void | clearComponentList (ComponentList &list) |
Free components in the given ComponentList and clear the list. | |
![]() | |
ComponentList | d_components |
RenderedStringComponent objects that comprise this RenderedString. | |
LineList | d_lines |
lines that make up this string. | |