summaryrefslogtreecommitdiff
path: root/atari/toolbar.h
diff options
context:
space:
mode:
authorOle Loots <ole@monochrom.net>2012-01-11 20:35:50 +0000
committerOle Loots <ole@monochrom.net>2012-01-11 20:35:50 +0000
commit3e9983abf2bdd282e1dfef9a2c83797a787cc6ea (patch)
tree378b4b22e6c1ece74f46e0cc5e37efa7291b1879 /atari/toolbar.h
parenta5a0b8d955c237515a0b01b8e2df960284d12252 (diff)
downloadnetsurf-3e9983abf2bdd282e1dfef9a2c83797a787cc6ea.tar.gz
netsurf-3e9983abf2bdd282e1dfef9a2c83797a787cc6ea.tar.bz2
Added functions to hide/show the toolbar.
svn path=/trunk/netsurf/; revision=13400
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