summaryrefslogtreecommitdiff
path: root/riscos/theme.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscos/theme.h')
-rw-r--r--riscos/theme.h13
1 files changed, 12 insertions, 1 deletions
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 "<Choices$Write>."
+#define THEME_PATH_R "Choices:"
+#else
+#define THEME_LEAFNAME "NetSurf.Choices.Themes"
+#define THEME_PATH_W "<User$Path>.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);