NetSurf
|
Data Fields | |
unsigned int | magic |
Magic word, for sanity. More... | |
unsigned int | flags |
Textarea flags. More... | |
unsigned int | vis_width |
Visible width, in pixels. More... | |
unsigned int | vis_height |
Visible height, in pixels. More... | |
wimp_w | window |
Window handle. More... | |
char * | text |
UTF-8 text. More... | |
unsigned int | text_alloc |
Size of allocated text. More... | |
unsigned int | text_len |
Length of text, in bytes. More... | |
struct { | |
unsigned int line | |
Line caret is on. More... | |
unsigned int char_off | |
Character index of caret. More... | |
} | caret_pos |
wimp_w | parent |
Parent window handle. More... | |
wimp_i | icon |
Parent icon handle. More... | |
char * | font_family |
Font family of text. More... | |
unsigned int | font_size |
Font size (16ths/pt) More... | |
rufl_style | font_style |
Font style (rufl) More... | |
int | line_height |
Total height of a line, given font size. More... | |
int | line_spacing |
Height of line spacing, given font size. More... | |
unsigned int | line_count |
Count of lines. More... | |
struct line_info * | lines |
Line info array. More... | |
struct text_area * | next |
Next text area in list. More... | |
struct text_area * | prev |
Prev text area in list. More... | |
Definition at line 54 of file textarea.c.
struct { ... } text_area::caret_pos |
Referenced by ro_textarea_create(), ro_textarea_get_caret(), and ro_textarea_set_caret().
unsigned int text_area::char_off |
Character index of caret.
Definition at line 68 of file textarea.c.
Referenced by ro_textarea_create(), ro_textarea_get_caret(), and ro_textarea_set_caret().
unsigned int text_area::flags |
Textarea flags.
Definition at line 58 of file textarea.c.
Referenced by ro_textarea_create(), ro_textarea_redraw_internal(), ro_textarea_reflow(), ro_textarea_set_caret_xy(), and ro_textarea_update().
char* text_area::font_family |
Font family of text.
Definition at line 76 of file textarea.c.
Referenced by ro_textarea_create(), ro_textarea_destroy(), ro_textarea_redraw_internal(), ro_textarea_reflow(), ro_textarea_set_caret(), and ro_textarea_set_caret_xy().
unsigned int text_area::font_size |
Font size (16ths/pt)
Definition at line 77 of file textarea.c.
Referenced by ro_textarea_create(), ro_textarea_redraw_internal(), ro_textarea_reflow(), ro_textarea_set_caret(), and ro_textarea_set_caret_xy().
rufl_style text_area::font_style |
Font style (rufl)
Definition at line 78 of file textarea.c.
Referenced by ro_textarea_create(), ro_textarea_redraw_internal(), ro_textarea_reflow(), ro_textarea_set_caret(), and ro_textarea_set_caret_xy().
wimp_i text_area::icon |
Parent icon handle.
Definition at line 74 of file textarea.c.
Referenced by ro_textarea_create(), and ro_textarea_update().
unsigned int text_area::line |
Line caret is on.
Definition at line 67 of file textarea.c.
Referenced by ro_textarea_create(), ro_textarea_get_caret(), and ro_textarea_set_caret().
unsigned int text_area::line_count |
Count of lines.
Definition at line 82 of file textarea.c.
Referenced by ro_textarea_create(), ro_textarea_redraw_internal(), ro_textarea_reflow(), ro_textarea_set_caret(), and ro_textarea_set_caret_xy().
int text_area::line_height |
Total height of a line, given font size.
Definition at line 79 of file textarea.c.
Referenced by ro_textarea_create(), ro_textarea_redraw_internal(), ro_textarea_reflow(), ro_textarea_set_caret(), and ro_textarea_set_caret_xy().
int text_area::line_spacing |
Height of line spacing, given font size.
Definition at line 80 of file textarea.c.
Referenced by ro_textarea_create(), ro_textarea_redraw_internal(), ro_textarea_reflow(), ro_textarea_set_caret(), and ro_textarea_set_caret_xy().
struct line_info* text_area::lines |
Line info array.
Definition at line 84 of file textarea.c.
Referenced by ro_textarea_create(), ro_textarea_get_caret(), ro_textarea_redraw_internal(), ro_textarea_reflow(), ro_textarea_set_caret(), and ro_textarea_set_caret_xy().
unsigned int text_area::magic |
Magic word, for sanity.
Definition at line 56 of file textarea.c.
Referenced by ro_textarea_create(), ro_textarea_destroy(), ro_textarea_get_caret(), ro_textarea_get_text(), ro_textarea_insert_text(), ro_textarea_replace_text(), ro_textarea_set_caret(), ro_textarea_set_caret_xy(), ro_textarea_set_text(), and ro_textarea_update().
struct text_area* text_area::next |
Next text area in list.
Definition at line 86 of file textarea.c.
wimp_w text_area::parent |
Parent window handle.
Definition at line 73 of file textarea.c.
Referenced by ro_textarea_create(), and ro_textarea_update().
struct text_area* text_area::prev |
Prev text area in list.
Definition at line 87 of file textarea.c.
char* text_area::text |
UTF-8 text.
Definition at line 63 of file textarea.c.
Referenced by ro_textarea_create(), ro_textarea_destroy(), ro_textarea_get_caret(), ro_textarea_get_text(), ro_textarea_insert_text(), ro_textarea_redraw_internal(), ro_textarea_reflow(), ro_textarea_replace_text(), ro_textarea_set_caret(), ro_textarea_set_caret_xy(), and ro_textarea_set_text().
unsigned int text_area::text_alloc |
Size of allocated text.
Definition at line 64 of file textarea.c.
Referenced by ro_textarea_create(), ro_textarea_insert_text(), ro_textarea_replace_text(), and ro_textarea_set_text().
unsigned int text_area::text_len |
Length of text, in bytes.
Definition at line 65 of file textarea.c.
Referenced by ro_textarea_create(), ro_textarea_get_caret(), ro_textarea_get_text(), ro_textarea_insert_text(), ro_textarea_reflow(), ro_textarea_replace_text(), ro_textarea_set_caret(), ro_textarea_set_caret_xy(), and ro_textarea_set_text().
unsigned int text_area::vis_height |
Visible height, in pixels.
Definition at line 60 of file textarea.c.
Referenced by ro_textarea_reflow(), and ro_textarea_update().
unsigned int text_area::vis_width |
Visible width, in pixels.
Definition at line 59 of file textarea.c.
Referenced by ro_textarea_reflow(), and ro_textarea_update().
wimp_w text_area::window |
Window handle.
Definition at line 61 of file textarea.c.
Referenced by ro_textarea_create(), ro_textarea_destroy(), ro_textarea_reflow(), ro_textarea_set_caret(), ro_textarea_set_caret_xy(), and ro_textarea_update().