From b2fd904eefd79b8de3ac8c53b387d248614ab27c Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sat, 15 Nov 2014 13:52:06 +0000 Subject: Make the SPACE_RenderBox compatibility functions public --- amiga/gui.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'amiga/gui.h') 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; -- cgit v1.2.3