Tweak throbber anim speed

svn path=/trunk/netsurf/; revision=9348
This commit is contained in:
Chris Young 2009-08-18 13:06:28 +00:00
parent e2ce2bb3ea
commit 8d34071b8e
3 changed files with 5 additions and 3 deletions

View File

@ -467,7 +467,7 @@ void gui_init(int argc, char** argv)
ami_get_theme_filename(throbberfile,"theme_throbber");
throbber_frames=atoi(messages_get("theme_throbber_frames"));
throbber_update_interval = atoi(messages_get("theme_throbber_delay"));
if(throbber_update_interval == 0) throbber_update_interval = 1000;
if(throbber_update_interval == 0) throbber_update_interval = 100;
if(dto = NewDTObject(throbberfile,
DTA_GroupID,GID_PICTURE,
@ -2353,6 +2353,8 @@ void gui_window_update_box(struct gui_window *g,
{
ULONG sx,sy;
if(!g) return;
GetAttr(SCROLLER_Top,g->shared->objects[OID_HSCROLL],(ULONG *)&sx);
GetAttr(SCROLLER_Top,g->shared->objects[OID_VSCROLL],(ULONG *)&sy);

View File

@ -29,7 +29,7 @@ theme_list_history:*TBImages:list_archive
theme_list_sslcert:*TBImages:list_crypt
theme_throbber:Throbber
theme_throbber_frames:13
theme_throbber_delay:500
theme_throbber_delay:100
ptr_default:*PROGDIR:Resources/Pointers/Default
ptr_point:*PROGDIR:Resources/Pointers/Point
ptr_caret:*PROGDIR:Resources/Pointers/Caret

View File

@ -42,7 +42,7 @@ theme_list_history:
theme_list_sslcert:
theme_throbber:Throbber
theme_throbber_frames:9
theme_throbber_delay:500
theme_throbber_delay:100
ptr_default:*PROGDIR:Resources/Pointers/Default
ptr_point:*PROGDIR:Resources/Pointers/Point
ptr_caret:*PROGDIR:Resources/Pointers/Caret