summaryrefslogtreecommitdiff
path: root/amiga/gui.h
diff options
context:
space:
mode:
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);