diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2009-04-29 17:05:40 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2009-04-29 17:05:40 +0000 |
commit | 160ec892e123b74033bf3092caff457629d9a00d (patch) | |
tree | 253761613d414157ecdf280391543ae3fc5cc264 /amiga | |
parent | 9582b087c7ea36957a88ccf913990111937167c5 (diff) | |
download | netsurf-160ec892e123b74033bf3092caff457629d9a00d.tar.gz netsurf-160ec892e123b74033bf3092caff457629d9a00d.tar.bz2 |
Make it a bit easier to see the text under the cursor, by complementing rather than
obliterating.
svn path=/trunk/netsurf/; revision=7372
Diffstat (limited to 'amiga')
-rwxr-xr-x | amiga/gui.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/amiga/gui.c b/amiga/gui.c index 29e7b3fbd..33afd9120 100755 --- a/amiga/gui.c +++ b/amiga/gui.c @@ -2704,8 +2704,12 @@ void gui_window_place_caret(struct gui_window *g, int x, int y, int height) if(((x-xs) <= 0) || ((x-xs+2) >= (bbox->Width)) || ((y-ys) <= 0) || ((y-ys) >= (bbox->Height))) return; + SetDrMd(g->shared->win->RPort,COMPLEMENT); + RectFill(g->shared->win->RPort,x+bbox->Left-xs,y+bbox->Top-ys,x+bbox->Left+2-xs,y+bbox->Top+height-ys); + SetDrMd(g->shared->win->RPort,JAM1); + g->c_x = x; g->c_y = y; g->c_h = height; |