From a836591435736b1d72eced1e6f643341422a7d82 Mon Sep 17 00:00:00 2001 From: Richard Wilson Date: Thu, 13 Jul 2006 12:46:02 +0000 Subject: Add basic cookie viewer, make trees use textarea components for UTF8 editing, trim headers, fix tree redraw issues. svn path=/trunk/netsurf/; revision=2739 --- riscos/theme.h | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) (limited to 'riscos/theme.h') diff --git a/riscos/theme.h b/riscos/theme.h index d5ba81956..7b7d209b7 100644 --- a/riscos/theme.h +++ b/riscos/theme.h @@ -1,7 +1,7 @@ /* * This file is part of NetSurf, http://netsurf.sourceforge.net/ * Licensed under the GNU General Public License, - * http://www.opensource.org/licenses/gpl-license + * http://www.opensource.org/licenses/gpl-license * Copyright 2005 Richard Wilson */ @@ -38,6 +38,7 @@ #define ICON_TOOLBAR_DELETE 0 #define ICON_TOOLBAR_EXPAND 1 #define ICON_TOOLBAR_OPEN 2 +#define ICON_TOOLBAR_COOKIES_LAST 4 #define ICON_TOOLBAR_LAUNCH 3 #define ICON_TOOLBAR_HISTORY_LAST 4 #define ICON_TOOLBAR_CREATE 4 // must be after last history icon @@ -47,14 +48,17 @@ #define ICON_TOOLBAR_SEPARATOR_BROWSER 11 #define ICON_TOOLBAR_SEPARATOR_HOTLIST 5 #define ICON_TOOLBAR_SEPARATOR_HISTORY 4 +#define ICON_TOOLBAR_SEPARATOR_COOKIES 3 typedef enum { - THEME_BROWSER_TOOLBAR, - THEME_HOTLIST_TOOLBAR, - THEME_HISTORY_TOOLBAR, - THEME_BROWSER_EDIT_TOOLBAR, - THEME_HOTLIST_EDIT_TOOLBAR, - THEME_HISTORY_EDIT_TOOLBAR + THEME_BROWSER_TOOLBAR, + THEME_HOTLIST_TOOLBAR, + THEME_HISTORY_TOOLBAR, + THEME_COOKIES_TOOLBAR, + THEME_BROWSER_EDIT_TOOLBAR, + THEME_HOTLIST_EDIT_TOOLBAR, + THEME_HISTORY_EDIT_TOOLBAR, + THEME_COOKIES_EDIT_TOOLBAR } toolbar_type; struct theme_file_header { @@ -113,13 +117,13 @@ struct toolbar { char *status_buffer; /**< buffer for status text (read only) */ struct toolbar_icon *icon; /**< first toolbar icon (read only) */ struct toolbar_icon *suggest; /**< suggestion toolbar icon (read only) */ - struct theme_descriptor *descriptor; /**< theme descriptor (read only) */ + struct theme_descriptor *descriptor; /**< theme descriptor (read only) */ toolbar_type type; /**< toolbar type (read only) */ struct toolbar *editor; /**< toolbar editor */ }; struct theme_descriptor { - char *leafname; /**< theme leafname */ + char *leafname; /**< theme leafname */ char *filename; /**< theme filename */ char name[32]; /**< theme name */ char author[64]; /**< theme author */ -- cgit v1.2.3