NetSurf
|
textarea message More...
#include <textarea.h>
Data Fields | |
struct textarea * | ta |
The textarea widget. More... | |
textarea_msg_type | type |
Indicates message data type. More... | |
union { | |
textarea_drag_type drag | |
With _DRAG_REPORT. More... | |
struct { | |
bool have_selection | |
Selection exists. More... | |
bool read_only | |
Selection can't be cut. More... | |
} selection | |
With _SELECTION_REPORT. More... | |
struct rect redraw | |
With _REDRAW_REQUEST. More... | |
struct { | |
enum | { TEXTAREA_CARET_SET_POS , TEXTAREA_CARET_HIDE } |
enum textarea_msg:: { ... } type | |
struct { | |
int x | |
Caret x-coord. More... | |
int y | |
Caret y-coord. More... | |
int height | |
Caret height. More... | |
struct rect * clip | |
Caret clip rect. More... | |
} pos | |
With _CARET_SET_POS. More... | |
} caret | |
With _CARET_UPDATE. More... | |
struct { | |
const char * text | |
UTF8 text. More... | |
unsigned int len | |
Byte length of text. More... | |
} modified | |
With _TEXT_MODIFIED. More... | |
} | data |
Depends on msg type. More... | |
textarea message
Definition at line 74 of file textarea.h.
struct { ... } textarea_msg::caret |
With _CARET_UPDATE.
Referenced by box_textarea_callback(), textarea_clear_selection(), textarea_scrollbar_callback(), textarea_select(), and textarea_set_caret_internal().
struct rect* textarea_msg::clip |
Caret clip rect.
Definition at line 94 of file textarea.h.
Referenced by box_textarea_callback(), textarea_clear_selection(), textarea_scrollbar_callback(), and textarea_set_caret_internal().
union { ... } textarea_msg::data |
Depends on msg type.
Referenced by box_textarea_callback(), tb_txt_callback(), textarea_clear_selection(), textarea_drag_end(), textarea_drop_text(), textarea_keypress(), textarea_mouse_action(), textarea_normalise_text(), textarea_scrollbar_callback(), textarea_select(), textarea_set_caret_internal(), treeview_textarea_callback(), and treeview_textarea_search_callback().
textarea_drag_type textarea_msg::drag |
With _DRAG_REPORT.
Definition at line 79 of file textarea.h.
Referenced by box_textarea_callback(), textarea_drag_end(), textarea_mouse_action(), textarea_scrollbar_callback(), treeview_textarea_callback(), and treeview_textarea_search_callback().
bool textarea_msg::have_selection |
Selection exists.
Definition at line 81 of file textarea.h.
Referenced by box_textarea_callback(), textarea_clear_selection(), and textarea_select().
int textarea_msg::height |
Caret height.
Definition at line 93 of file textarea.h.
Referenced by box_textarea_callback(), textarea_clear_selection(), textarea_scrollbar_callback(), and textarea_set_caret_internal().
unsigned int textarea_msg::len |
Byte length of text.
Definition at line 99 of file textarea.h.
Referenced by box_textarea_callback(), textarea_normalise_text(), and treeview_textarea_search_callback().
struct { ... } textarea_msg::modified |
With _TEXT_MODIFIED.
Referenced by box_textarea_callback(), textarea_normalise_text(), and treeview_textarea_search_callback().
struct { ... } textarea_msg::pos |
With _CARET_SET_POS.
Referenced by box_textarea_callback(), textarea_clear_selection(), textarea_scrollbar_callback(), and textarea_set_caret_internal().
bool textarea_msg::read_only |
Selection can't be cut.
Definition at line 82 of file textarea.h.
Referenced by box_textarea_callback(), textarea_clear_selection(), and textarea_select().
struct rect textarea_msg::redraw |
With _REDRAW_REQUEST.
Definition at line 84 of file textarea.h.
Referenced by box_textarea_callback(), tb_txt_callback(), textarea_clear_selection(), textarea_drop_text(), textarea_keypress(), textarea_scrollbar_callback(), textarea_select(), textarea_set_caret_internal(), treeview_textarea_callback(), and treeview_textarea_search_callback().
struct { ... } textarea_msg::selection |
With _SELECTION_REPORT.
Referenced by box_textarea_callback(), textarea_clear_selection(), and textarea_select().
struct textarea* textarea_msg::ta |
The textarea widget.
Definition at line 75 of file textarea.h.
Referenced by textarea_clear_selection(), textarea_drag_end(), textarea_drop_text(), textarea_get_caret(), textarea_keypress(), textarea_mouse_action(), textarea_normalise_text(), textarea_reset_selection(), textarea_scroll_visible(), textarea_scrollbar_callback(), textarea_select(), textarea_select_fragment(), textarea_select_paragraph(), textarea_set_caret_internal(), textarea_set_text_style(), and textarea_setup_text_offsets().
const char* textarea_msg::text |
UTF8 text.
Definition at line 98 of file textarea.h.
Referenced by box_textarea_callback(), textarea_normalise_text(), and treeview_textarea_search_callback().
textarea_msg_type textarea_msg::type |
Indicates message data type.
Definition at line 77 of file textarea.h.
Referenced by box_textarea_callback(), tb_txt_callback(), textarea_clear_selection(), textarea_drag_end(), textarea_drop_text(), textarea_keypress(), textarea_mouse_action(), textarea_normalise_text(), textarea_scrollbar_callback(), textarea_select(), textarea_set_caret_internal(), treeview_textarea_callback(), and treeview_textarea_search_callback().
enum { ... } textarea_msg::type |
int textarea_msg::x |
Caret x-coord.
Definition at line 91 of file textarea.h.
Referenced by box_textarea_callback(), textarea_clear_selection(), textarea_drag_end(), textarea_mouse_action(), textarea_scroll_visible(), textarea_scrollbar_callback(), and textarea_set_caret_internal().
int textarea_msg::y |
Caret y-coord.
Definition at line 92 of file textarea.h.
Referenced by box_textarea_callback(), textarea_clear_selection(), textarea_drag_end(), textarea_mouse_action(), textarea_scroll_visible(), textarea_scrollbar_callback(), and textarea_set_caret_internal().