diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2019-05-10 20:59:30 +0100 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2019-05-10 20:59:30 +0100 |
commit | 97010ecef521de524846734e093db89a18f81f62 (patch) | |
tree | 03e7f949b32cd4d4c8e643278477b4a6ac63c84c /frontends/amiga/gui.h | |
parent | c5a07fac76313c2d2d6348dee20d881a639c40c8 (diff) | |
download | netsurf-97010ecef521de524846734e093db89a18f81f62.tar.gz netsurf-97010ecef521de524846734e093db89a18f81f62.tar.bz2 |
Make screen pointer accesible through an accessor function only
Diffstat (limited to 'frontends/amiga/gui.h')
-rw-r--r-- | frontends/amiga/gui.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/frontends/amiga/gui.h b/frontends/amiga/gui.h index caa21c339..c4af98f93 100644 --- a/frontends/amiga/gui.h +++ b/frontends/amiga/gui.h @@ -77,7 +77,6 @@ struct ami_generic_window { extern struct MinList *window_list; /**\todo stop arexx.c poking about in here */ -extern struct Screen *scrn; extern struct MsgPort *sport; #define IS_CURRENT_GW(GWIN,GW) (ami_gui2_get_gui_window(GWIN) == GW) @@ -108,6 +107,11 @@ void ami_set_pointer(struct gui_window_2 *gwin, gui_pointer_shape shape, bool up void ami_reset_pointer(struct gui_window_2 *gwin); /** + * Beep + */ +void ami_gui_beep(void); + +/** * Close a window and all tabs attached to it. * * @param w gui_window_2 to act upon. @@ -145,6 +149,13 @@ void ami_gui_free_space_box(struct IBox *bbox); uint32 ami_gui_get_app_id(void); /** + * Get a pointer to the screen NetSurf is running on. + * + * @return Pointer to struct Screen. + */ +struct Screen *ami_gui_get_screen(void); + +/** * Get the string for NetSurf's screen titlebar. * * @return String to use as the screen's titlebar text. |