summaryrefslogtreecommitdiff
path: root/amiga/gui.h
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2012-01-11 21:41:55 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2012-01-11 21:41:55 +0000
commit9f08a052d08967409d62affdcef256d6cd219efc (patch)
tree307f683ccaeeeea2560647a8bcdc32b4fd5bc8a9 /amiga/gui.h
parent3e9983abf2bdd282e1dfef9a2c83797a787cc6ea (diff)
downloadnetsurf-9f08a052d08967409d62affdcef256d6cd219efc.tar.gz
netsurf-9f08a052d08967409d62affdcef256d6cd219efc.tar.bz2
Allow confining the pointer to part of the window during drags. Actually
we aren't acting on this for any current drag types, but if we need to do so in the future (eg. frame resizing), this is the code to do it. The trap lasts 10 IntuiTicks so is re-asserted on every mouse move when an active drag is in effect. Drag type must be set to GDRAGGING_NONE to clear. svn path=/trunk/netsurf/; revision=13401
Diffstat (limited to 'amiga/gui.h')
-rwxr-xr-xamiga/gui.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/amiga/gui.h b/amiga/gui.h
index 118470221..8b53f6377 100755
--- a/amiga/gui.h
+++ b/amiga/gui.h
@@ -106,6 +106,8 @@ struct gui_window_2 {
struct AppIcon *appicon; /* iconify appicon */
struct DiskObject *dobj; /* iconify appicon */
struct Hook search_ico_hook;
+ gui_drag_type drag_op;
+ struct IBox *ptr_lock;
};
struct gui_window