summaryrefslogtreecommitdiff
path: root/render/textinput.h
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-07-07 18:38:35 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-07-07 18:38:35 +0000
commit50f52cfc515da6532a2844e46951fe75a5f3ec40 (patch)
tree128d46bce1af6d3a13e323c0f180f3ffa95601d1 /render/textinput.h
parente9b0a3ffb4e5d22f78360451d2ecba67094f6b49 (diff)
downloadnetsurf-50f52cfc515da6532a2844e46951fe75a5f3ec40.tar.gz
netsurf-50f52cfc515da6532a2844e46951fe75a5f3ec40.tar.bz2
Remove ghost caret.
svn path=/trunk/netsurf/; revision=12589
Diffstat (limited to 'render/textinput.h')
-rw-r--r--render/textinput.h17
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);