Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-08-24 | CLOUD: Make ProgressDialog display downloading progress | Alexander Tkachev | |
2016-08-24 | CLOUD: Fix SaveLoadCloudSyncProgressDialog crash | Alexander Tkachev | |
It's closing itself a bit later now. | |||
2016-08-24 | GUI: Add SaveLoadCloudSyncProgressDialog | Alexander Tkachev | |
It's shown by SaveLoadChooserDialog when files are downloaded and some save slots are locked. One can hide that dialog to interact with non-locked slots or cancel saves sync completely. Dialog's label shows current sync progress. Dialog automatically hides itself when all files are downloaded. WARNING: right now that results in a crash! | |||
2016-08-24 | CLOUD: Make Save/Load dialog start saves sync | Alexander Tkachev | |
It also shows a "sync disabled" icon in case it has a savepath override. | |||
2016-08-24 | CLOUD: Update syncSaves() to return SavesSyncRequest * | Alexander Tkachev | |
So other classes could use that information without casting. | |||
2016-08-24 | CLOUD: Update cloudicon.png | Alexander Tkachev | |
The cloud icon is now completely unique and free to use (because I drawn it myself). | |||
2016-08-24 | CLOUD: Add new CloudManager shortcuts | Alexander Tkachev | |
CloudIcon can easily use CloudMan.isWorking() | |||
2016-08-24 | GUI: Fix copyRectOnOSD() | Alexander Tkachev | |
Now it doesn't require full redraw, but asks to redraw the area which is copied to. | |||
2016-08-24 | CLOUD: Fix SavesSyncRequest to return right files | Alexander Tkachev | |
Files we need are files to be downloaded, because that's what blocks us from reading/writing in those. | |||
2016-08-24 | CLOUD: Extend Storage & SavesSyncRequest | Alexander Tkachev | |
Now one can learn whether SavesSyncRequest is running, its progress and which files are being synced. | |||
2016-08-24 | CLOUD: Add new cloudicon.png | Alexander Tkachev | |
2016-08-24 | CLOUD: Document CloudIcon::draw() more precisely | Alexander Tkachev | |
2016-08-24 | CLOUD: Fix CloudIcon | Alexander Tkachev | |
It's not a Request again, but still it controls ConnMan's timer. | |||
2016-08-24 | CLOUD: Make CloudIcon switch ConnMan's timer off | Alexander Tkachev | |
CloudIcon is now a Request which is automatically added once first Request is added to ConnMan. When icon decides it should disappear, it gets FINISHED, so ConnMan would switch off the timer if it was the last Request. | |||
2016-08-24 | CLOUD: Make CloudIcon pulsate, fade in and fade out | Alexander Tkachev | |
That required ConnMan's timer stopping. Would be fixed in the next commit. | |||
2016-08-24 | GUI: Separate OSD message alpha from OSD surface | Alexander Tkachev | |
Now OSD is always drawn. | |||
2016-08-24 | CLOUD: Fix CloudIcon | Alexander Tkachev | |
Now it loads the surface once. | |||
2016-08-24 | GUI: Add getOSDFormat() and make OSD 32 bpp | Alexander Tkachev | |
2016-08-24 | CLOUD: Fix ConnectionManager a little | Alexander Tkachev | |
I didn't like how FINISHED Requests were waiting until the next interateRequests() call to be removed when we could easily remove those after they changed their state in their handle(). | |||
2016-08-24 | CLOUD: Fix CloudIcon to use clearOSD() | Alexander Tkachev | |
Now only icon is shown. | |||
2016-08-24 | GUI: Add clearOSD() method | Alexander Tkachev | |
So one can erase everything from OSD and then blit something on it. | |||
2016-08-24 | CLOUD: Add CloudIcon | Alexander Tkachev | |
To achieve smoother animation, ConnectionManager's timer now is 20 times more frequent. I'm encountering some strange libcurl.dll segfault problem when I close the application while some Requests are active. It's not CloudIcon-related, so it's more likely related to this 20 FPS timer. This problem shows up only in Visual Studio for me. | |||
2016-08-24 | GUI: Add copyRectToOSD() | Alexander Tkachev | |
I was lazy to implement that in OpenGLGraphicsManager and I'm not sure it's implemented correctly in SurfaceSdlGraphicsManager, but it works for me. | |||
2016-08-24 | CLOUD: Fix SavesSyncRequest | Alexander Tkachev | |
Now it would finish with error if spawned Request is nullptr. | |||
2016-08-24 | CLOUD: Add GoogleDriveStorage | Alexander Tkachev | |
It has its own GoogleDriveTokenRefresher and knows how to do info(). This commit also contains JSON int -> long long int fix and CurlJsonRequest '\n' -> ' ' fix. | |||
2016-08-24 | CLOUD: Document ConnectionManager's onDeleteCallback | Alexander Tkachev | |
2016-08-24 | GUI: Fix widget clipping | Eugene Sandulenko | |
2016-08-24 | GUI: Added animation classes | Eugene Sandulenko | |
2016-08-24 | GUI: Added transparency to PicWidgets | Eugene Sandulenko | |
2016-08-24 | GUI: Implemented test point method to GuiObject | Eugene Sandulenko | |
2016-08-24 | GUI: Added support for alphabitmaps in picbuttons | Eugene Sandulenko | |
2016-08-24 | GUI: Switched GUI to draw on TransparentSurface | Eugene Sandulenko | |
2016-08-24 | GUI: Added empty dialog background | Eugene Sandulenko | |
2016-08-24 | GUI: Implemented centering of dialog background | Eugene Sandulenko | |
2016-08-24 | GUI: Added possibility to specify scale mode for AlphaBitmaps | Eugene Sandulenko | |
2016-08-24 | GUI: Plug NinePatch bitmaps into parser | Eugene Sandulenko | |
2016-08-24 | GUI: Implemented more modes to autoscale | Eugene Sandulenko | |
2016-08-24 | GUI: Implemented alphabitmap autoscale | Eugene Sandulenko | |
2016-08-24 | GUI: Implemented possibility to use alphabitmaps in GraphicsWidget | Eugene Sandulenko | |
2016-08-24 | GUI: Added new alphabitmap image type | Eugene Sandulenko | |
2016-08-24 | GUI: Added possibility to specify several state images for PicButtonWidget | Eugene Sandulenko | |
2016-08-24 | GUI: Added support for PNG images | Eugene Sandulenko | |
2016-08-24 | GUI: Add mode to skip drawing of button for PicButton | Eugene Sandulenko | |
2016-08-24 | CLOUD: Add mutexes in Storage | Alexander Tkachev | |
2016-08-24 | CLOUD: Make CloudManager singleton | Alexander Tkachev | |
It's needed to ::destroy() it in main(). | |||
2016-08-24 | CLOUD: Fix ConnectionManager's destructor | Alexander Tkachev | |
It now terminates active Requests. | |||
2016-08-24 | CLOUD: Implement Storage's isWorking() | Alexander Tkachev | |
It now keeps track of how many Requests are running. To achieve that, we had to pass a callback to ConnectionManager, so each Request has a callback paired with it. If that's one of Storage's Requests, it has a callback, which would decrease a counter. When Storage adds a Request, it also increases a counter and passes that callback. Callback is called by ConnMan when Request is deleted. isWorking() returns true if there is at least one Request running. | |||
2016-08-24 | CLOUD: Shorten Cloud API | Alexander Tkachev | |
touch() and isSyncing() are not needed. remove() is not needed too, but it could be used in the future. | |||
2016-08-24 | CLOUD: Fix SavesSyncRequest to create saves folder | Alexander Tkachev | |
2016-08-24 | CLOUD: Add OneDriveCreateDirectoryRequest | Alexander Tkachev | |