aboutsummaryrefslogtreecommitdiff
path: root/gui/storagewizarddialog.h
AgeCommit message (Collapse)Author
2016-08-24GUI: Add Container in StorageWizardDialogAlexander Tkachev
It now looks fine in both 640x400 and 320x200!
2016-08-24GUI: Add "Paste" button in StorageWizardDialogAlexander Tkachev
It pastes clipboard contents as code into 8 fields of that dialog. (Clipboard support works with SDL2 only.) "Open URL" and "Paste" buttons are placed in the left column under the picture (because there is no room for 4 buttons in the bottom row). Commit also adds "dropbox.bmp", which is just a square 115x115 picture. Such pictures are would be used as Storages logos in that dialog. In lowres there is no left column, so all 4 buttons are in the same row. None of them are visible, because they are overflowed. Container has to be added to continue working on them.
2016-08-24GUI: Fix SDL_Net-related errorsAlexander Tkachev
Checked by rebuilding ScummVM without SDL_Net in MinGW. Also fixes StorageWizardDialog's warning about _stopServerOnClose.
2016-08-24CLOUD: Fix `redirect_uri` selection codeAlexander Tkachev
Now it's not hardcoded based on USE_SDL_NET, but one or another value is used depending on currently selected LocalWebserver's port.
2016-08-24CLOUD: Update StorageWizardDialogAlexander Tkachev
It now hides code fields not just when built with SDL_Net, but also when LocalWebserver's using default port. So that's why NETWORKING_LOCALWEBSERVER_ENABLE_PORT_OVERRIDE is defined in localwebserver.h now.
2016-08-24GUI: Add "Open URL" button in StorageWizardDialogAlexander Tkachev
It uses Networking::Browser::openUrl().
2016-08-24CLOUD: Make "Run server" button activeAlexander Tkachev
It should show the real server's IP over there, but that doesn't work yet.
2016-08-24CLOUD: Add IndexPageHandlerAlexander Tkachev
This commit also adds LocalWebserver's stopOnIdle(). That means server is not stopped immediately, but only when all clients are served.
2016-08-24CLOUD: Add LocalWebserverAlexander Tkachev
Available as LocalServer singleton. It's being started and stopped by StorageWizardDialog. It doesn't handle clients yet, though.
2016-08-24CLOUD: Add comments for StorageWizardDialog methodsAlexander Tkachev
2016-08-24CLOUD: Update StorageWizardDialog's code checkAlexander Tkachev
Now the code contains its own crc16 in it, plus the way checksum is calculated has changed. Some online tool calls this exact way of calculating crc16 "CRC16_CCITT_FALSE".
2016-08-24CLOUD: Add checks in StorageWizardDialogAlexander Tkachev
It now calculates the checksums for code pieces to determine whether it's correct and CRC-32 for user to compare with one shown on site.
2016-08-24GUI: Add EditText in StorageWizardDialogAlexander Tkachev
One can enter the code, press 'Connect' button and get a working Storage!
2016-08-24GUI: Add Cloud tab StorageWizardDialogAlexander Tkachev
This is a dialog which guides user through Storage connection procedure.