summaryrefslogtreecommitdiff
path: root/amiga/gui.h
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2015-09-03 19:57:04 +0100
committerChris Young <chris@unsatisfactorysoftware.co.uk>2015-09-03 19:57:04 +0100
commitcdaae7b30e22373b99117438a15e062e8749688d (patch)
treea45eeaf68ce050d47be199508acb07663f81a42f /amiga/gui.h
parent944248ce3205881df9268d2c3f9f0cb52fc2f075 (diff)
downloadnetsurf-cdaae7b30e22373b99117438a15e062e8749688d.tar.gz
netsurf-cdaae7b30e22373b99117438a15e062e8749688d.tar.bz2
Add a couple of context menu items for links for testing.
Diffstat (limited to 'amiga/gui.h')
-rw-r--r--[-rwxr-xr-x]amiga/gui.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/amiga/gui.h b/amiga/gui.h
index 7ac140b19..9f8284b56 100755..100644
--- a/amiga/gui.h
+++ b/amiga/gui.h
@@ -132,6 +132,7 @@ struct gui_window_2 {
struct DiskObject *dobj; /* iconify appicon */
struct Hook favicon_hook;
struct Hook throbber_hook;
+ struct Hook *ctxmenu_hook;
gui_drag_type drag_op;
struct IBox *ptr_lock;
struct AppWindow *appwin;
@@ -174,6 +175,8 @@ void ami_schedule_redraw(struct gui_window_2 *gwin, bool full_redraw);
STRPTR ami_locale_langs(void);
int ami_key_to_nskey(ULONG keycode, struct InputEvent *ie);
bool ami_text_box_at_point(struct gui_window_2 *gwin, ULONG *x, ULONG *y);
+bool ami_mouse_to_ns_coords(struct gui_window_2 *gwin, int *x, int *y,
+ int mouse_x, int mouse_y);
BOOL ami_gadget_hit(Object *obj, int x, int y);
void ami_gui_history(struct gui_window_2 *gwin, bool back);
void ami_gui_hotlist_update_all(void);