diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-01-13 14:16:48 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-01-13 14:45:23 +0100 |
commit | f10b2d70d09c2e9f5c14ba5e3673c5fb31aa9468 (patch) | |
tree | 72b26aeba1b3bb47636ffe8e2ece85fc0c44c214 /src/qt/guiconstants.h | |
parent | a7973c9b6b6c72bca2e6e90aed08553bf708938d (diff) |
qt: use series of pngs for spinner
Use a series of .png frames for the spinner instead of a .mng.
`mng` is an obscure image format and is not built by default into Qt5.
This appears to improve the crispness of the spinner as well.
Does not noticably increase the size (still ~27k) and the code
is not more complicated either.
Diffstat (limited to 'src/qt/guiconstants.h')
-rw-r--r-- | src/qt/guiconstants.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qt/guiconstants.h b/src/qt/guiconstants.h index 6c9fa6a755..d1a601706b 100644 --- a/src/qt/guiconstants.h +++ b/src/qt/guiconstants.h @@ -38,4 +38,7 @@ static const int MAX_PAYMENT_REQUEST_SIZE = 50000; // bytes /* QRCodeDialog -- size of exported QR Code image */ #define EXPORT_IMAGE_SIZE 256 +/* Number of frames in spinner animation */ +#define SPINNER_FRAMES 35 + #endif // GUICONSTANTS_H |