diff options
Diffstat (limited to 'render/textinput.h')
-rw-r--r-- | render/textinput.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/render/textinput.h b/render/textinput.h index 30cdc3036..52faa3249 100644 --- a/render/textinput.h +++ b/render/textinput.h @@ -31,7 +31,6 @@ struct browser_window; struct box; -struct content; struct caret @@ -39,7 +38,6 @@ struct caret bool defined; struct browser_window *bw; - struct content *c; struct box *text_box; size_t char_offset; @@ -51,21 +49,6 @@ struct caret }; -/** There's a single ghost caret used to implement - * drag-and-drop of text into text areas and input fields. - */ - -extern struct caret ghost_caret; - - -void caret_set_position(struct caret *c, struct browser_window *bw, - struct box *text_box, int char_offset, int pixel_offset); -void caret_remove(struct caret *c); - -struct box *textarea_get_position(struct box *textarea, int x, int y, - int *pchar_offset, int *ppixel_offset); - - void textinput_textarea_click(struct content *c, browser_mouse_state mouse, struct box *textarea, int box_x, int box_y, int x, int y); |