

Public Member Functions | |
| Gump_text (Gump *par, int shnum, int px, int py, int maxsz, int tx, int ty) | |
| ~Gump_text () | |
| int | get_length () |
| char * | get_text () |
| void | set_text (char *newtxt) |
| int | get_cursor () |
| void | set_cursor (int pos) |
| void | paint () |
| int | mouse_clicked (int mx, int my) |
| void | insert (int chr) |
| int | delete_left () |
| int | delete_right () |
| void | lose_focus () |
Protected Member Functions | |
| void | refresh () |
Private Attributes | |
| char * | text |
| int | max_size |
| int | length |
| int | textx |
| int | texty |
| int | cursor |
Definition at line 139 of file File_gump.cc.
| Gump_text::Gump_text | ( | Gump * | par, | |
| int | shnum, | |||
| int | px, | |||
| int | py, | |||
| int | maxsz, | |||
| int | tx, | |||
| int | ty | |||
| ) | [inline] |
Definition at line 147 of file File_gump.cc.
References Shape_frame::get_xleft(), Shape_frame::get_yabove(), SF_GUMPS_VGA, ShapeID::shape, ShapeID::ShapeID(), text, textx, and texty.
Here is the call graph for this function:

| Gump_text::~Gump_text | ( | ) | [inline] |
| int Gump_text::get_length | ( | ) | [inline] |
Definition at line 162 of file File_gump.cc.
References length.
Referenced by File_gump::text_input().
| char* Gump_text::get_text | ( | ) | [inline] |
| void Gump_text::set_text | ( | char * | newtxt | ) | [inline] |
| int Gump_text::get_cursor | ( | ) | [inline] |
Definition at line 171 of file File_gump.cc.
References cursor.
Referenced by File_gump::text_input().
| void Gump_text::set_cursor | ( | int | pos | ) | [inline] |
Definition at line 173 of file File_gump.cc.
References cursor, length, and refresh().
Referenced by File_gump::text_input().
Here is the call graph for this function:

| void Gump_text::paint | ( | ) | [virtual] |
Reimplemented from Gump_widget.
Definition at line 201 of file File_gump.cc.
References Image_window8::fill8(), Game_window::get_win(), gwin, and Game_window::set_painted().
Referenced by refresh().
Here is the call graph for this function:

| int Gump_text::mouse_clicked | ( | int | mx, | |
| int | my | |||
| ) |
Definition at line 223 of file File_gump.cc.
| void Gump_text::insert | ( | int | chr | ) |
| int Gump_text::delete_left | ( | ) |
| int Gump_text::delete_right | ( | ) |
| void Gump_text::lose_focus | ( | ) |
Definition at line 310 of file File_gump.cc.
| void Gump_text::refresh | ( | ) | [inline, protected] |
Definition at line 190 of file File_gump.cc.
References paint().
Referenced by set_cursor().
Here is the call graph for this function:

char* Gump_text::text [private] |
Definition at line 141 of file File_gump.cc.
Referenced by get_text(), Gump_text(), set_text(), and ~Gump_text().
int Gump_text::max_size [private] |
int Gump_text::length [private] |
Definition at line 143 of file File_gump.cc.
Referenced by get_length(), set_cursor(), and set_text().
int Gump_text::textx [private] |
int Gump_text::texty [private] |
int Gump_text::cursor [private] |
1.5.1