summaryrefslogtreecommitdiff
path: root/atari/toolbar.h
diff options
context:
space:
mode:
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: */