summaryrefslogtreecommitdiff
path: root/cocoa
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2013-03-05 22:53:33 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2013-03-05 22:54:51 +0000
commit037beb44fb8f14c80963e54e9b430a0ef03a9d5d (patch)
tree86a19cc2da29f7aa405126ef4dc17ae7e02855d1 /cocoa
parente8950dee22e82c00dcf48efe2b7125d87776c682 (diff)
downloadnetsurf-037beb44fb8f14c80963e54e9b430a0ef03a9d5d.tar.gz
netsurf-037beb44fb8f14c80963e54e9b430a0ef03a9d5d.tar.bz2
Pass caret clip rect out to front ends. (Nothing actually using them yet.)
Diffstat (limited to 'cocoa')
-rw-r--r--cocoa/gui.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/cocoa/gui.m b/cocoa/gui.m
index 94de3753b..cd7e6d239 100644
--- a/cocoa/gui.m
+++ b/cocoa/gui.m
@@ -252,7 +252,8 @@ void gui_window_set_search_ico(hlcache_handle *ico)
UNIMPL();
}
-void gui_window_place_caret(struct gui_window *g, int x, int y, int height)
+void gui_window_place_caret(struct gui_window *g, int x, int y, int height,
+ const struct rect *clip)
{
[[(BrowserViewController *)g browserView] addCaretAt: cocoa_point( x, y )
height: cocoa_px_to_pt( height )];