#include <bctextbox.h>
Inheritance diagram for BC_TextBox:

Public Member Functions | |
| BC_TextBox (int x, int y, int w, int rows, char *text, int has_border=1, int font=MEDIUMFONT) | |
| BC_TextBox (int x, int y, int w, int rows, int64_t text, int has_border=1, int font=MEDIUMFONT) | |
| BC_TextBox (int x, int y, int w, int rows, int text, int has_border=1, int font=MEDIUMFONT) | |
| BC_TextBox (int x, int y, int w, int rows, float text, int has_border=1, int font=MEDIUMFONT, int precision=4) | |
| virtual | ~BC_TextBox () |
| virtual int | handle_event () |
| virtual int | motion_event () |
| int | update (char *text) |
| int | update (int64_t value) |
| int | update (float value) |
| void | disable () |
| void | enable () |
| int | get_enabled () |
| int | initialize () |
| int | focus_in_event () |
| int | focus_out_event () |
| int | cursor_enter_event () |
| int | cursor_leave_event () |
| int | cursor_motion_event () |
| virtual int | button_press_event () |
| int | button_release_event () |
| int | repeat_event (int64_t repeat_id) |
| int | keypress_event () |
| int | activate () |
| int | deactivate () |
| char * | get_text () |
| int | get_text_rows () |
| void | set_text_row (int row) |
| int | get_text_row () |
| int | reposition_window (int x, int y, int w=-1, int rows=-1) |
| int | uses_text () |
| void | set_precision (int precision) |
| void | set_keypress_draw (int value) |
| int | get_ibeam_letter () |
| void | set_ibeam_letter (int number, int redraw=1) |
| int | get_last_keypress () |
| void | set_separators (char *separators) |
| int | select_whole_text (int select) |
| void | cycle_textboxes (int amout) |
Static Public Member Functions | |
| static int | calculate_h (BC_WindowBase *gui, int font, int has_border, int rows) |
| static int | calculate_row_h (int rows, BC_WindowBase *parent_window, int has_border=1, int font=MEDIUMFONT) |
| static int | pixels_to_rows (BC_WindowBase *window, int font, int pixels) |
Private Member Functions | |
| int | reset_parameters (int rows, int has_border, int font) |
| void | draw () |
| void | draw_border () |
| void | draw_cursor () |
| void | copy_selection (int clipboard_num) |
| void | paste_selection (int clipboard_num) |
| void | delete_selection (int letter1, int letter2, int text_len) |
| void | insert_text (char *string) |
| void | do_separators (int ibeam_left) |
| void | get_ibeam_position (int &x, int &y) |
| void | find_ibeam (int dispatch_event) |
| void | select_word (int &letter1, int &letter2, int ibeam_letter) |
| int | get_cursor_letter (int cursor_x, int cursor_y) |
| int | get_row_h (int rows) |
| void | default_keypress (int &dispatch_event, int &result) |
Private Attributes | |
| int | text_x |
| int | text_y |
| int | ibeam_x |
| int | ibeam_y |
| int | ibeam_letter |
| int | highlight_letter1 |
| int | highlight_letter2 |
| int | highlight_letter3 |
| int | highlight_letter4 |
| int | text_x1 |
| int | text_start |
| int | text_end |
| int | text_selected |
| int | word_selected |
| int | text_ascent |
| int | text_descent |
| int | text_height |
| int | left_margin |
| int | right_margin |
| int | top_margin |
| int | bottom_margin |
| int | has_border |
| int | font |
| int | rows |
| int | highlighted |
| int | high_color |
| int | back_color |
| int | background_color |
| char | text [BCTEXTLEN] |
| char | text_row [BCTEXTLEN] |
| char | temp_string [2] |
| int | active |
| int | enabled |
| int | precision |
| int | keypress_draw |
| Timer * | skip_cursor |
| int | last_keypress |
| char * | separators |
Definition at line 14 of file bctextbox.h.
|
||||||||||||||||||||||||||||||||
|
Definition at line 21 of file bctextbox.C. |
|
||||||||||||||||||||||||||||||||
|
Definition at line 35 of file bctextbox.C. |
|
||||||||||||||||||||||||||||||||
|
Definition at line 65 of file bctextbox.C. |
|
||||||||||||||||||||||||||||||||||||
|
Definition at line 49 of file bctextbox.C. |
|
|
Definition at line 79 of file bctextbox.C. |
|
|
Reimplemented from BC_WindowBase. Definition at line 601 of file bctextbox.C. |
|
|
Reimplemented from BC_WindowBase. Reimplemented in BC_TumbleTextBoxText. Definition at line 488 of file bctextbox.C. |
|
|
Reimplemented from BC_WindowBase. Definition at line 546 of file bctextbox.C. |
|
||||||||||||||||||||
|
Definition at line 153 of file bctextbox.C. |
|
||||||||||||||||||||
|
Definition at line 240 of file bctextbox.C. |
|
|
Definition at line 1459 of file bctextbox.C. |
|
|
Reimplemented from BC_WindowBase. Definition at line 458 of file bctextbox.C. |
|
|
Reimplemented from BC_WindowBase. Definition at line 475 of file bctextbox.C. |
|
|
Reimplemented from BC_WindowBase. Definition at line 560 of file bctextbox.C. |
|
|
Reimplemented from BC_WindowBase. Definition at line 693 of file bctextbox.C. |
|
|
Reimplemented from BC_WindowBase. Definition at line 610 of file bctextbox.C. |
|
||||||||||||
|
Definition at line 650 of file bctextbox.C. |
|
||||||||||||||||
|
Definition at line 1207 of file bctextbox.C. |
|
|
Definition at line 203 of file bctextbox.C. |
|
|
Definition at line 1245 of file bctextbox.C. |
|
|
Definition at line 335 of file bctextbox.C. |
|
|
Definition at line 296 of file bctextbox.C. |
|
|
Definition at line 321 of file bctextbox.C. |
|
|
Definition at line 216 of file bctextbox.C. |
|
|
Definition at line 1348 of file bctextbox.C. |
|
|
Reimplemented from BC_WindowBase. Definition at line 446 of file bctextbox.C. |
|
|
Reimplemented from BC_WindowBase. Definition at line 452 of file bctextbox.C. |
|
||||||||||||
|
Definition at line 1387 of file bctextbox.C. |
|
|
Definition at line 228 of file bctextbox.C. |
|
|
Definition at line 1495 of file bctextbox.C. |
|
||||||||||||
|
Definition at line 1300 of file bctextbox.C. |
|
|
Definition at line 1490 of file bctextbox.C. |
|
|
Definition at line 268 of file bctextbox.C. |
|
|
Definition at line 251 of file bctextbox.C. |
|
|
Definition at line 1343 of file bctextbox.C. |
|
|
Definition at line 256 of file bctextbox.C. |
|
|
Reimplemented in BC_FileBoxTextBox, BC_FileBoxDirectoryText, BC_FileBoxFilterText, BC_ScrollTextBoxText, BC_PopupTextBoxText, and BC_TumbleTextBoxText. Definition at line 49 of file bctextbox.h. |
|
|
Reimplemented from BC_SubWindow. Definition at line 108 of file bctextbox.C. |
|
|
Definition at line 1220 of file bctextbox.C. |
|
|
Reimplemented from BC_WindowBase. Definition at line 698 of file bctextbox.C. |
|
|
Reimplemented in BC_ScrollTextBoxText. Definition at line 51 of file bctextbox.h. |
|
|
Definition at line 1474 of file bctextbox.C. |
|
||||||||||||||||
|
Definition at line 233 of file bctextbox.C. |
|
|
Reimplemented from BC_WindowBase. Definition at line 618 of file bctextbox.C. |
|
||||||||||||||||||||
|
Reimplemented from BC_WindowBase. Definition at line 273 of file bctextbox.C. |
|
||||||||||||||||
|
Definition at line 84 of file bctextbox.C. |
|
|
Definition at line 670 of file bctextbox.C. |
|
||||||||||||||||
|
Definition at line 1437 of file bctextbox.C. |
|
||||||||||||
|
Definition at line 1500 of file bctextbox.C. |
|
|
Definition at line 1485 of file bctextbox.C. |
|
|
Definition at line 163 of file bctextbox.C. |
|
|
Definition at line 1509 of file bctextbox.C. |
|
|
Definition at line 1337 of file bctextbox.C. |
|
|
Definition at line 194 of file bctextbox.C. |
|
|
Definition at line 184 of file bctextbox.C. |
|
|
Definition at line 168 of file bctextbox.C. |
|
|
Reimplemented from BC_WindowBase. Definition at line 1202 of file bctextbox.C. |
|
|
Definition at line 138 of file bctextbox.h. |
|
|
Definition at line 135 of file bctextbox.h. |
|
|
Definition at line 136 of file bctextbox.h. |
|
|
Definition at line 130 of file bctextbox.h. |
|
|
Definition at line 139 of file bctextbox.h. |
|
|
Definition at line 132 of file bctextbox.h. |
|
|
Definition at line 131 of file bctextbox.h. |
|
|
Definition at line 135 of file bctextbox.h. |
|
|
Definition at line 126 of file bctextbox.h. |
|
|
Definition at line 126 of file bctextbox.h. |
|
|
Definition at line 127 of file bctextbox.h. |
|
|
Definition at line 127 of file bctextbox.h. |
|
|
Definition at line 134 of file bctextbox.h. |
|
|
Definition at line 125 of file bctextbox.h. |
|
|
Definition at line 123 of file bctextbox.h. |
|
|
Definition at line 123 of file bctextbox.h. |
|
|
Definition at line 141 of file bctextbox.h. |
|
|
Definition at line 146 of file bctextbox.h. |
|
|
Definition at line 130 of file bctextbox.h. |
|
|
Definition at line 140 of file bctextbox.h. |
|
|
Definition at line 130 of file bctextbox.h. |
|
|
Definition at line 133 of file bctextbox.h. |
|
|
Definition at line 147 of file bctextbox.h. |
|
|
Definition at line 144 of file bctextbox.h. |
|
|
Definition at line 137 of file bctextbox.h. |
|
|
Definition at line 137 of file bctextbox.h. |
|
|
Definition at line 129 of file bctextbox.h. |
|
|
Definition at line 129 of file bctextbox.h. |
|
|
Definition at line 128 of file bctextbox.h. |
|
|
Definition at line 129 of file bctextbox.h. |
|
|
Definition at line 137 of file bctextbox.h. |
|
|
Definition at line 128 of file bctextbox.h. |
|
|
Definition at line 128 of file bctextbox.h. |
|
|
Definition at line 121 of file bctextbox.h. |
|
|
Definition at line 128 of file bctextbox.h. |
|
|
Definition at line 121 of file bctextbox.h. |
|
|
Definition at line 130 of file bctextbox.h. |
|
|
Definition at line 128 of file bctextbox.h. |
1.4.4