summaryrefslogtreecommitdiff
path: root/atari/toolbar.h
diff options
context:
space:
mode:
authorOle Loots <ole@monochrom.net>2012-11-30 03:20:52 +0100
committerOle Loots <ole@monochrom.net>2012-11-30 03:20:52 +0100
commitea025e60083af859001ea709065efab6600c5bab (patch)
tree2e344173c9e7dfe1581274522cbc7e14e3cf93c7 /atari/toolbar.h
parent67d4da38ad994e3468119e3d6cc6f6041786144b (diff)
downloadnetsurf-ea025e60083af859001ea709065efab6600c5bab.tar.gz
netsurf-ea025e60083af859001ea709065efab6600c5bab.tar.bz2
Toolbar is now finished, started work on browser redraw/scrolling.
Diffstat (limited to 'atari/toolbar.h')
-rw-r--r--atari/toolbar.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/atari/toolbar.h b/atari/toolbar.h
index 6a40cf3e5..d13b59c6b 100644
--- a/atari/toolbar.h
+++ b/atari/toolbar.h
@@ -39,7 +39,7 @@ struct s_toolbar
GRECT area;
/* size & location of buttons: */
struct s_tb_button * buttons;
- bool hidden;
+ bool attached;
int btcnt;
int style;
bool redraw;
@@ -55,13 +55,14 @@ void toolbar_set_dimensions(struct s_toolbar *tb, GRECT *area);
void toolbar_set_url(struct s_toolbar *tb, const char *text);
bool toolbar_text_input(struct s_toolbar *tb, char *text);
bool toolbar_key_input(struct s_toolbar *tb, short nkc);
-void toolbar_mouse_input(struct s_toolbar *tb, short mx, short my);
+void toolbar_mouse_input(struct s_toolbar *tb, short obj);
void toolbar_update_buttons(struct s_toolbar *tb, struct browser_window *bw,
short idx);
void toolbar_get_grect(struct s_toolbar *tb, short which, GRECT *g);
struct text_area *toolbar_get_textarea(struct s_toolbar *tb,
enum toolbar_textarea which);
void toolbar_set_throbber_state(struct s_toolbar *tb, bool active);
+void toolbar_set_attached(struct s_toolbar *tb, bool attached);
void toolbar_redraw(struct s_toolbar *tb, GRECT *clip);
void toolbar_throbber_progress(struct s_toolbar *tb);
/* public events handlers: */