summaryrefslogtreecommitdiff
path: root/atari/toolbar.h
diff options
context:
space:
mode:
Diffstat (limited to 'atari/toolbar.h')
-rwxr-xr-xatari/toolbar.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/atari/toolbar.h b/atari/toolbar.h
index ba967f91e..27bf4396f 100755
--- a/atari/toolbar.h
+++ b/atari/toolbar.h
@@ -70,7 +70,8 @@ struct s_toolbar
struct s_throbber_widget throbber;
GRECT btdim;
/* size & location of buttons: */
- struct s_tb_button * buttons;
+ struct s_tb_button * buttons;
+ bool hidden;
int btcnt;
};
@@ -96,6 +97,8 @@ bool tb_url_input( struct gui_window * gw, short keycode );
void tb_url_set( struct gui_window * gw, char * text );
/* perform redraw of invalidated url textinput areas: */
void tb_url_redraw( struct gui_window * gw );
-struct gui_window * tb_gui_window( CMP_TOOLBAR tb );
+struct gui_window * tb_gui_window( CMP_TOOLBAR tb );
+/* hide toolbar, mode = 1: hide, mode = 0: show */
+void tb_hide( struct gui_window * gw, short mode );
#endif