diff options
Diffstat (limited to 'riscos/theme.h')
-rw-r--r-- | riscos/theme.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/riscos/theme.h b/riscos/theme.h index 687430c5d..1b6f3b571 100644 --- a/riscos/theme.h +++ b/riscos/theme.h @@ -108,6 +108,7 @@ struct toolbar { int toolbar_current; /**< the size of the toolbar window in OS units */ int height; /**< vertical extent of the toolbar (read only) */ int max_height; /**< allowed vertical extent (read only) */ + int old_height; /**< height on last test (read only) */ wimp_w toolbar_handle; /**< toolbar window handle */ wimp_w status_handle; /**< status window handle (if applicable) */ wimp_w parent_handle; /**< parent window handle (read only) */ @@ -162,6 +163,8 @@ void ro_gui_theme_toolbar_editor_sync(struct toolbar *toolbar); void ro_gui_theme_toolbar_editor_click(struct toolbar *toolbar, wimp_pointer *pointer); void ro_gui_theme_toolbar_editor_drag_end(wimp_dragged *drag); +int ro_gui_theme_height_change(struct toolbar *toolbar); + struct toolbar_icon *ro_gui_theme_toolbar_get_icon(struct toolbar *toolbar, int x, int y); #define ro_gui_theme_toolbar_height(toolbar) toolbar->height + \ |