From 037beb44fb8f14c80963e54e9b430a0ef03a9d5d Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Tue, 5 Mar 2013 22:53:33 +0000 Subject: Pass caret clip rect out to front ends. (Nothing actually using them yet.) --- amiga/gui.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'amiga/gui.c') diff --git a/amiga/gui.c b/amiga/gui.c index 73f26ce1b..9820a036b 100644 --- a/amiga/gui.c +++ b/amiga/gui.c @@ -2130,7 +2130,7 @@ void ami_handle_msg(void) if(gwin->bw->window->c_h) { gui_window_place_caret(gwin->bw->window, gwin->bw->window->c_x, - gwin->bw->window->c_y, gwin->bw->window->c_h); + gwin->bw->window->c_y, gwin->bw->window->c_h, NULL); } } } while(node = nnode); @@ -4651,7 +4651,8 @@ static uint32 ami_set_throbber_render_hook(struct Hook *hook, APTR space, return 0; } -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) { struct IBox *bbox; ULONG xs,ys; -- cgit v1.2.3