Functions | |
bool | is_alnum (char c) |
list< string > | tokenize (string t) |
int | text_wt_in_pixels (string s, const surf_of_letter_t &surf_of_letter) |
void | print_letter (SDL_Surface *l, SDL_Surface *screen, int_pair dest_pos, rgb col) |
int | print_line_of_text (string t, int x, int y, const surf_of_letter_t &surf_of_letter, SDL_Surface *screen, bool calc_wt_only, rgb col) |
Returns the width of the text. | |
void | print_x_centered_line_of_text (string t, int x_min, int x_max, int y, const surf_of_letter_t &surf_of_letter, SDL_Surface *screen, rgb col) |
int | draw_text_multiline_variable_ht (string text, SDL_Surface *surf, int x_left, int y_top, int x_right, const surf_of_letter_t &surf_of_letter, bool calc_ht_only, rgb col) |
|
Definition at line 1660 of file fack.cc. References foreach, map_get(), print_x_centered_line_of_text(), text_wt_in_pixels(), and tokenize(). Referenced by decide_position_for_text(), draw_verb_dialog(), and FACK::start(). |
|
Definition at line 1496 of file fack.cc. Referenced by tokenize(). |
|
Definition at line 1554 of file fack.cc. References rgb::b, rgb::g, rgb::r, int_pair::x, and int_pair::y. Referenced by print_line_of_text(). |
|
Returns the width of the text.
Definition at line 1603 of file fack.cc. References map_get(), print_letter(), int_pair::x, and int_pair::y. Referenced by print_x_centered_line_of_text(). |
|
Definition at line 1643 of file fack.cc. References print_line_of_text(). Referenced by draw_text_multiline_variable_ht(), draw_verb_dialog(), FACK::render_command_bar(), and FACK::start(). |
|
Definition at line 1539 of file fack.cc. References map_get(). Referenced by draw_text_multiline_variable_ht(). |
|
Definition at line 1504 of file fack.cc. References is_alnum(). Referenced by draw_text_multiline_variable_ht(). |