From 50f52cfc515da6532a2844e46951fe75a5f3ec40 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Thu, 7 Jul 2011 18:38:35 +0000 Subject: Remove ghost caret. svn path=/trunk/netsurf/; revision=12589 --- render/textinput.h | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'render/textinput.h') 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); -- cgit v1.2.3