summaryrefslogtreecommitdiff
path: root/riscos/toolbar.h
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2004-05-06 20:37:48 +0000
committerJames Bursa <james@netsurf-browser.org>2004-05-06 20:37:48 +0000
commit7cb9b4d79b078040967e5326615779d7c073b23d (patch)
treedc7d3e9adb473c5f8a9bc1ef87d74b56641d922f /riscos/toolbar.h
parentc0a4ab450b9802e618bb1e98b46b4a5dbed49c13 (diff)
downloadnetsurf-7cb9b4d79b078040967e5326615779d7c073b23d.tar.gz
netsurf-7cb9b4d79b078040967e5326615779d7c073b23d.tar.bz2
[project @ 2004-05-06 20:37:48 by bursa]
Remove obsolete theme files. Hide some unimplemented toolbar icons. F2 moves caret to URL bar and clears it to "www.". Simplify some of the toolbar code. Fix menu-related crash (reported by Jerome Mathevet). svn path=/import/netsurf/; revision=836
Diffstat (limited to 'riscos/toolbar.h')
-rw-r--r--riscos/toolbar.h30
1 files changed, 4 insertions, 26 deletions
diff --git a/riscos/toolbar.h b/riscos/toolbar.h
index f54bde320..c7c94cf94 100644
--- a/riscos/toolbar.h
+++ b/riscos/toolbar.h
@@ -15,29 +15,7 @@
#include "oslib/wimp.h"
-struct toolbar_icon {
- /* The desired WIMP icon number (-1 for separator)
- */
- int icon_number;
-
- /* Set to non-zero to display the icon
- */
- unsigned int available;
-
- /* Icon dimensions (OS units)
- */
- unsigned int width;
- unsigned int height;
-
- /* Icon validation, or NULL if this icon is unavailable
- */
- unsigned char* validation;
-
- /* The next icon (linked list)
- */
- struct toolbar_icon *next_icon; // Next toolbar icon
-};
-
+struct toolbar_icon;
struct toolbar {
@@ -51,7 +29,7 @@ struct toolbar {
int status_old_width; // Old status width
int width; // Toolbar width on last reformat
unsigned int height; // Toolbar height on last reformat
-
+
/* General options
*/
unsigned int throbber_width; // Throbber width (0 = unavaiable)
@@ -61,11 +39,11 @@ struct toolbar {
unsigned int url_bar; // Show URL bar?
unsigned int throbber; // Show Throbber?
unsigned int status_width; // Width of status window
-
+
/* The first toolbar icon
*/
struct toolbar_icon *icon;
-
+
/* Window handles
*/
wimp_w toolbar_handle;