diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2014-11-15 13:52:06 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2014-11-15 13:52:06 +0000 |
commit | b2fd904eefd79b8de3ac8c53b387d248614ab27c (patch) | |
tree | dd00628848fb2966d568d38596f0a8bf5f9343f5 /amiga/gui.h | |
parent | e909c93804733d0df26dd3924f1dfe701800eb18 (diff) | |
download | netsurf-b2fd904eefd79b8de3ac8c53b387d248614ab27c.tar.gz netsurf-b2fd904eefd79b8de3ac8c53b387d248614ab27c.tar.bz2 |
Make the SPACE_RenderBox compatibility functions public
Diffstat (limited to 'amiga/gui.h')
-rwxr-xr-x | amiga/gui.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/amiga/gui.h b/amiga/gui.h index c15301515..899729cae 100755 --- a/amiga/gui.h +++ b/amiga/gui.h @@ -171,6 +171,22 @@ nserror ami_gui_new_blank_tab(struct gui_window_2 *gwin); char *ami_gui_get_cache_favicon_name(nsurl *url, bool only_if_avail); int ami_gui_count_windows(int window, int *tabs); +/** + * Compatibility function to get space.gadget render area. + * + * @param obj A space.gadget object. + * @param bbox A pointer to a struct IBox *. + * @return error status. + */ +nserror ami_gui_get_space_box(Object *obj, struct IBox **bbox); + +/** + * Free any data obtained via ami_gui_get_space_box(). + * + * @param bbox A pointer to a struct IBox. + */ +void ami_gui_free_space_box(struct IBox *bbox); + struct TextFont *origrpfont; struct MinList *window_list; struct Screen *scrn; |