diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-12-15 19:18:16 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-12-15 19:18:16 +0200 |
commit | a529f0b6af2beeafc12f9195ca396723819b045f (patch) | |
tree | 85cfcebb6c0a7074a5fcf9d859d3248604854c26 /src/ui/window.c | |
parent | 63f53ca41dc068241d7a1bdbf05c5036fe70dbe7 (diff) |
Window: More subtle rotating download animation
Diffstat (limited to 'src/ui/window.c')
-rw-r--r-- | src/ui/window.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/ui/window.c b/src/ui/window.c index 986cfe69..6edd4c0e 100644 --- a/src/ui/window.c +++ b/src/ui/window.c | |||
@@ -193,7 +193,15 @@ static const iMenuItem identityButtonMenuItems_[] = { | |||
193 | }; | 193 | }; |
194 | 194 | ||
195 | static const char *reloadCStr_ = "\U0001f503"; | 195 | static const char *reloadCStr_ = "\U0001f503"; |
196 | |||
197 | /* TODO: A preference for these, maybe? */ | ||
196 | static const char *stopSeqCStr_[] = { | 198 | static const char *stopSeqCStr_[] = { |
199 | /* Corners */ | ||
200 | uiTextCaution_ColorEscape "\U0000230c", | ||
201 | uiTextCaution_ColorEscape "\U0000230d", | ||
202 | uiTextCaution_ColorEscape "\U0000230f", | ||
203 | uiTextCaution_ColorEscape "\U0000230e", | ||
204 | #if 0 | ||
197 | /* Rotating arrow */ | 205 | /* Rotating arrow */ |
198 | uiTextCaution_ColorEscape "\U00002b62", | 206 | uiTextCaution_ColorEscape "\U00002b62", |
199 | uiTextCaution_ColorEscape "\U00002b68", | 207 | uiTextCaution_ColorEscape "\U00002b68", |
@@ -203,6 +211,7 @@ static const char *stopSeqCStr_[] = { | |||
203 | uiTextCaution_ColorEscape "\U00002b66", | 211 | uiTextCaution_ColorEscape "\U00002b66", |
204 | uiTextCaution_ColorEscape "\U00002b61", | 212 | uiTextCaution_ColorEscape "\U00002b61", |
205 | uiTextCaution_ColorEscape "\U00002b67", | 213 | uiTextCaution_ColorEscape "\U00002b67", |
214 | #endif | ||
206 | #if 0 | 215 | #if 0 |
207 | /* Star */ | 216 | /* Star */ |
208 | uiTextCaution_ColorEscape "\u2bcc", | 217 | uiTextCaution_ColorEscape "\u2bcc", |
@@ -280,7 +289,7 @@ static void updateNavBarIdentity_(iWidget *navBar) { | |||
280 | setFlags_Widget(as_Widget(idItem), disabled_WidgetFlag, !ident); | 289 | setFlags_Widget(as_Widget(idItem), disabled_WidgetFlag, !ident); |
281 | } | 290 | } |
282 | 291 | ||
283 | static const int loadAnimIntervalMs_ = 266; | 292 | static const int loadAnimIntervalMs_ = 133; |
284 | static int loadAnimIndex_ = 0; | 293 | static int loadAnimIndex_ = 0; |
285 | 294 | ||
286 | static const char *loadAnimationCStr_(void) { | 295 | static const char *loadAnimationCStr_(void) { |