diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2008-09-13 22:39:48 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2008-09-13 22:39:48 +0000 |
commit | 684d452e9cf6620b8b22a4ea71a4894d30e2c11e (patch) | |
tree | b2520a1f8367256b6c23ffeee590bedf894c6c7a /amiga/options.h | |
parent | 10bf100cc1cbc2bc6c2f2f178a588a9ec242af8b (diff) | |
download | netsurf-684d452e9cf6620b8b22a4ea71a4894d30e2c11e.tar.gz netsurf-684d452e9cf6620b8b22a4ea71a4894d30e2c11e.tar.bz2 |
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
Diffstat (limited to 'amiga/options.h')
-rw-r--r-- | amiga/options.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/amiga/options.h b/amiga/options.h index d6ab89f3a..40ad24d69 100644 --- a/amiga/options.h +++ b/amiga/options.h @@ -28,6 +28,7 @@ extern int option_modeid; extern char *option_toolbar_images; extern bool option_no_iframes; extern bool option_utf8_clipboard; +extern int option_throbber_frames; #define EXTRA_OPTION_DEFINE \ bool option_verbose_log = false; \ @@ -38,6 +39,7 @@ int option_modeid = 0; \ char *option_toolbar_images = 0; \ bool option_no_iframes = false; \ bool option_utf8_clipboard = false; \ +int option_throbber_frames = 1; #define EXTRA_OPTION_TABLE \ { "verbose_log", OPTION_BOOL, &option_verbose_log}, \ @@ -47,5 +49,6 @@ bool option_utf8_clipboard = false; \ { "screen_modeid", OPTION_INTEGER, &option_modeid}, \ { "toolbar_images", OPTION_STRING, &option_toolbar_images }, \ { "no_iframes", OPTION_BOOL, &option_no_iframes}, \ -{ "clipboard_write_utf8", OPTION_BOOL, &option_utf8_clipboard}, +{ "clipboard_write_utf8", OPTION_BOOL, &option_utf8_clipboard}, \ +{ "throbber_frames", OPTION_INTEGER, &option_throbber_frames}, #endif |