From 684d452e9cf6620b8b22a4ea71a4894d30e2c11e Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sat, 13 Sep 2008 22:39:48 +0000 Subject: Improved throbber, works independently on multiple windows, stops when it should, no weird crashes, lock-ups etc. The format has changed, Resources/Throbber now needs to be in a picture.datatype format, as a "film strip" of frames with the first image the inactive (stopped throbber) and the rest the active animation. The number of frames needs to be set in the Options file throbber_frames variable (currently - will probably move to a tooltype of Resources/Throbber in the future for better theming ability) svn path=/trunk/netsurf/; revision=5310 --- amiga/gui.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'amiga/gui.h') diff --git a/amiga/gui.h b/amiga/gui.h index b91fd7424..e8c6481c4 100755 --- a/amiga/gui.h +++ b/amiga/gui.h @@ -37,6 +37,7 @@ enum GID_HOME, GID_BACK, GID_FORWARD, + GID_THROBBER, GID_USER, GID_PASS, GID_LOGIN, @@ -50,7 +51,6 @@ enum OID_VSCROLL, OID_HSCROLL, OID_MENU, - OID_THROBBER, OID_LAST }; @@ -84,6 +84,8 @@ struct gui_window { union content_msg_data *redraw_data; browser_mouse_state mouse_state; browser_mouse_state key_state; + int throbber_frame; + ULONG throbber_update_count; int c_x; int c_y; int c_h; -- cgit v1.2.3