#include <glh_text.h>
Public Member Functions | |
void | get_dimensions (float &width, float &height) |
font * | get_font () |
const string & | get_text () |
void | render () |
void | set_font (font *new_font) |
void | set_text (const string &new_text) |
simple_multi_line_text () | |
Private Member Functions | |
void | make_render_calls () |
void | next_line () |
Private Attributes | |
bool | dirty |
display_list | dl |
font * | f |
float | h |
float | line_spacing |
string | text |
float | w |
Definition at line 104 of file glh_text.h.
glh::simple_multi_line_text::simple_multi_line_text | ( | ) | [inline] |
Definition at line 107 of file glh_text.h.
void glh::simple_multi_line_text::get_dimensions | ( | float & | width, |
float & | height | ||
) | [inline] |
Definition at line 122 of file glh_text.h.
font* glh::simple_multi_line_text::get_font | ( | ) | [inline] |
Definition at line 145 of file glh_text.h.
const string& glh::simple_multi_line_text::get_text | ( | ) | [inline] |
Definition at line 146 of file glh_text.h.
void glh::simple_multi_line_text::make_render_calls | ( | ) | [inline, private] |
Definition at line 154 of file glh_text.h.
void glh::simple_multi_line_text::next_line | ( | ) | [inline, private] |
Definition at line 149 of file glh_text.h.
void glh::simple_multi_line_text::render | ( | ) | [inline] |
Definition at line 110 of file glh_text.h.
void glh::simple_multi_line_text::set_font | ( | font * | new_font | ) | [inline] |
Definition at line 135 of file glh_text.h.
void glh::simple_multi_line_text::set_text | ( | const string & | new_text | ) | [inline] |
Definition at line 140 of file glh_text.h.
bool glh::simple_multi_line_text::dirty [private] |
Definition at line 190 of file glh_text.h.
display_list glh::simple_multi_line_text::dl [private] |
Definition at line 188 of file glh_text.h.
font* glh::simple_multi_line_text::f [private] |
Definition at line 186 of file glh_text.h.
float glh::simple_multi_line_text::h [private] |
Definition at line 189 of file glh_text.h.
float glh::simple_multi_line_text::line_spacing [private] |
Definition at line 191 of file glh_text.h.
string glh::simple_multi_line_text::text [private] |
Definition at line 187 of file glh_text.h.
float glh::simple_multi_line_text::w [private] |
Definition at line 189 of file glh_text.h.