aboutsummaryrefslogtreecommitdiff
path: root/gui/downloaddialog.h
diff options
context:
space:
mode:
authorAlexander Tkachev2016-07-14 16:53:38 +0600
committerAlexander Tkachev2016-08-24 16:07:55 +0600
commit1b56f59add45af1894957a58fb4cf662f534d54d (patch)
tree69cd0e29027ff79258900aa9b538af6963bd469a /gui/downloaddialog.h
parentc431ae6d84be1ef73c44b84c58ee3d9edff3d5e3 (diff)
downloadscummvm-rg350-1b56f59add45af1894957a58fb4cf662f534d54d.tar.gz
scummvm-rg350-1b56f59add45af1894957a58fb4cf662f534d54d.tar.bz2
scummvm-rg350-1b56f59add45af1894957a58fb4cf662f534d54d.zip
GUI: Update DownloadDialog
It now has download size and speed labels. Commit also fixes minor mistake in ConnMan.
Diffstat (limited to 'gui/downloaddialog.h')
-rw-r--r--gui/downloaddialog.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gui/downloaddialog.h b/gui/downloaddialog.h
index 4b277c8334..e91318bb86 100644
--- a/gui/downloaddialog.h
+++ b/gui/downloaddialog.h
@@ -51,6 +51,8 @@ class DownloadDialog : public Dialog {
StaticTextWidget *_remoteDirectoryLabel;
StaticTextWidget *_localDirectoryLabel;
StaticTextWidget *_percentLabel;
+ StaticTextWidget *_downloadSizeLabel;
+ StaticTextWidget *_downloadSpeedLabel;
SliderWidget *_progressBar;
ButtonWidget *_cancelButton;
ButtonWidget *_closeButton;
@@ -58,6 +60,9 @@ class DownloadDialog : public Dialog {
Common::String _localDirectory;
bool _close;
+ Common::String getSizeLabelText();
+ Common::String getSpeedLabelText();
+
void refreshWidgets();
bool selectDirectories();