diff options
author | Ole Loots <ole@monochrom.net> | 2013-01-22 22:28:20 +0100 |
---|---|---|
committer | Ole Loots <ole@monochrom.net> | 2013-01-22 22:28:20 +0100 |
commit | 577ff3cffc5fb99041c5da2d828b1f25cfb13dc9 (patch) | |
tree | e9d187909281089c7e18cf84ef778a69af006f6b /atari/toolbar.h | |
parent | 985e4ce6be424aec5e797d92c09e0ee22cde7874 (diff) | |
download | netsurf-577ff3cffc5fb99041c5da2d828b1f25cfb13dc9.tar.gz netsurf-577ff3cffc5fb99041c5da2d828b1f25cfb13dc9.tar.bz2 |
The Window toolbar now have independet AES objects,
which means no state restore is required before redraw.
Diffstat (limited to 'atari/toolbar.h')
-rw-r--r-- | atari/toolbar.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/atari/toolbar.h b/atari/toolbar.h index 24ea9e26a..3116aa9d6 100644 --- a/atari/toolbar.h +++ b/atari/toolbar.h @@ -31,13 +31,13 @@ struct s_toolbar struct s_gui_win_root *owner; struct s_url_widget url;
struct s_throbber_widget throbber; + OBJECT *form; GRECT area;
/* size & location of buttons: */ struct s_tb_button * buttons; int btcnt; int style; bool attached; - bool redraw; bool reflow; bool visible; bool search_visible;
@@ -54,6 +54,7 @@ void toolbar_mouse_input(struct s_toolbar *tb, short obj, short mbut); 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); +OBJECT *toolbar_get_form(struct s_toolbar *tb); struct textarea *toolbar_get_textarea(struct s_toolbar *tb, enum toolbar_textarea which); void toolbar_set_throbber_state(struct s_toolbar *tb, bool active); |