From 6ac57d946bf0e9cb717ad12cdd02dcf854965643 Mon Sep 17 00:00:00 2001 From: James Bursa Date: Sat, 22 May 2004 23:04:44 +0000 Subject: [project @ 2004-05-22 23:04:44 by bursa] Work on new theme choices dialog. svn path=/import/netsurf/; revision=889 --- riscos/theme.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'riscos/theme.h') diff --git a/riscos/theme.h b/riscos/theme.h index c04c6aa6e..3f22f7af6 100644 --- a/riscos/theme.h +++ b/riscos/theme.h @@ -17,7 +17,13 @@ #ifndef _NETSURF_RISCOS_THEME_H_ #define _NETSURF_RISCOS_THEME_H_ -#include "oslib/wimp.h" +#include "oslib/osspriteop.h" +#include "netsurf/desktop/gui.h" + +struct theme_entry { + char *name; + osspriteop_area *sprite_area; +}; extern int theme_throbs; @@ -25,5 +31,7 @@ void ro_theme_load(char *pathname); void ro_theme_create_toolbar(gui_window *g); int ro_theme_update_toolbar(gui_window *g); int ro_theme_resize_toolbar(gui_window *g); +struct theme_entry *ro_theme_list(unsigned int *entries); +void ro_theme_list_free(struct theme_entry *list, unsigned int entries); #endif -- cgit v1.2.3