From d1094d12387238932ee49a6dc6091a8fef8ede66 Mon Sep 17 00:00:00 2001 From: Richard Wilson Date: Sat, 31 Dec 2005 04:40:49 +0000 Subject: [project @ 2005-12-31 04:40:48 by rjw] Use new wimp_event system. svn path=/import/netsurf/; revision=1916 --- riscos/theme.h | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'riscos/theme.h') diff --git a/riscos/theme.h b/riscos/theme.h index d0a9f0428..1cf99dbc1 100644 --- a/riscos/theme.h +++ b/riscos/theme.h @@ -14,6 +14,18 @@ #ifndef _NETSURF_RISCOS_THEME_H_ #define _NETSURF_RISCOS_THEME_H_ + +#ifndef NCOS +#define THEME_LEAFNAME "WWW.NetSurf.Themes" +#define THEME_PATH_W "." +#define THEME_PATH_R "Choices:" +#else +#define THEME_LEAFNAME "NetSurf.Choices.Themes" +#define THEME_PATH_W ".Choices." +#define THEME_PATH_R THEME_PATH_W +#endif + + typedef enum { THEME_BROWSER_TOOLBAR, THEME_HOTLIST_TOOLBAR, @@ -112,7 +124,6 @@ bool ro_gui_theme_read_file_header(struct theme_descriptor *descriptor, bool ro_gui_theme_open(struct theme_descriptor *descriptor, bool list); bool ro_gui_theme_apply(struct theme_descriptor *descriptor); void ro_gui_theme_close(struct theme_descriptor *descriptor, bool list); -void ro_gui_theme_redraw(struct toolbar *toolbar, wimp_draw *redraw); struct toolbar *ro_gui_theme_create_toolbar(struct theme_descriptor *descriptor, toolbar_type type); bool ro_gui_theme_update_toolbar(struct theme_descriptor *descriptor, struct toolbar *toolbar); -- cgit v1.2.3