From 3e9983abf2bdd282e1dfef9a2c83797a787cc6ea Mon Sep 17 00:00:00 2001 From: Ole Loots Date: Wed, 11 Jan 2012 20:35:50 +0000 Subject: Added functions to hide/show the toolbar. svn path=/trunk/netsurf/; revision=13400 --- atari/toolbar.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'atari/toolbar.h') 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 -- cgit v1.2.3