#include <inputbox_generic.h>
Collaboration diagram for CL_InputBox_Generic:

Public Methods | |
| CL_InputBox_Generic (CL_InputBox *self, const CL_ComponentOptions &options, CL_StyleManager *style) | |
| ~CL_InputBox_Generic () | |
| void | on_key_down (CL_Component *comp, CL_InputDevice *device, CL_Key key) |
| void | on_key_up (CL_Component *comp, CL_InputDevice *device, CL_Key key) |
| void | on_mouse_move (CL_Component *comp, CL_InputDevice *device, int x, int y) |
| void | set_text (const std::string &text) |
| const std::string& | get_marked_text () const |
| void | set_max_length (int length) |
| void | select_all () |
| void | deselect () |
| void | set_selection (int start, int length) |
| void | set_cursor_position (int pos) |
| void | backspace () |
| void | del () |
| void | cut () |
| void | move_cursor (int delta, bool mark) |
| void | move_cursor_word (int delta, bool mark) |
| void | home (bool mark) |
| void | end (bool mark) |
| int | get_selection_start () |
| int | get_selection_length () |
Public Attributes | |
| CL_InputBox* | inputbox |
| bool | password_mode |
| bool | read_only |
| bool | edited |
| int | cursor_position |
| int | max_length |
| std::string | text |
| CL_Signal_v1<const std::string &> | sig_changed |
| CL_Signal_v1<const std::string &> | sig_return_pressed |
| CL_Slot | slot_key_down |
| CL_Slot | slot_key_up |
| CL_Slot | slot_mouse_move |
Static Public Methods | |
| CL_ComponentOptions | create_options (const CL_Rect &pos, const std::string &text, bool password_mode, bool readonly, int maxlength) |
Private Methods | |
| void | check_selection () |
| void | update_text (CL_Key key) |
| int | get_mouse_position (int x, int y) |
Private Attributes | |
| bool | selecting |
| bool | mouse_selecting |
| int | selection_start |
| int | selection_end |
| bool | ctrl_down |
| bool | shift_down |
|
|
|
|
|
Definition at line 25 of file inputbox_generic.h. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 74 of file inputbox_generic.h. |
|
|
Definition at line 34 of file inputbox_generic.h. |
|
|
Definition at line 32 of file inputbox_generic.h. |
|
|
Definition at line 27 of file inputbox_generic.h. |
|
|
Definition at line 36 of file inputbox_generic.h. |
|
|
Definition at line 70 of file inputbox_generic.h. |
|
|
Definition at line 29 of file inputbox_generic.h. |
|
|
Definition at line 30 of file inputbox_generic.h. |
|
|
Definition at line 69 of file inputbox_generic.h. |
|
|
Definition at line 72 of file inputbox_generic.h. |
|
|
Definition at line 71 of file inputbox_generic.h. |
|
|
Definition at line 75 of file inputbox_generic.h. |
|
|
Definition at line 40 of file inputbox_generic.h. |
|
|
Definition at line 41 of file inputbox_generic.h. |
|
|
Definition at line 43 of file inputbox_generic.h. |
|
|
Definition at line 44 of file inputbox_generic.h. |
|
|
Definition at line 45 of file inputbox_generic.h. |
|
|
Definition at line 38 of file inputbox_generic.h. |
1.2.6 written by Dimitri van Heesch,
© 1997-2001