summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/base
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2012-06-20 21:00:43 +0200
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2012-06-26 18:30:27 +0200
commitf419128a6b371d2752553ef3850f10c2cdf46912 (patch)
tree9b88dd45a000e3c86a0a89f20f1d1da368e5a9b2 /rbutil/rbutilqt/base
parent40e306ba3776a90cc8670e792961edfe89b28115 (diff)
downloadrockbox-f419128a6b371d2752553ef3850f10c2cdf46912.tar.gz
rockbox-f419128a6b371d2752553ef3850f10c2cdf46912.zip
Show player picture left of device configuration.
After shrinking the size of the Rockbox logo shown and making the selected device display two lines there is now enough room to also show an icon of the player. The icon is scaled depending on the application font size, so for setups configured with a larger font it still should show up in a reasonable size. Change-Id: I8f62f3292c62f820309157db73741b57fd6371ef
Diffstat (limited to 'rbutil/rbutilqt/base')
-rw-r--r--rbutil/rbutilqt/base/systeminfo.cpp1
-rw-r--r--rbutil/rbutilqt/base/systeminfo.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/base/systeminfo.cpp b/rbutil/rbutilqt/base/systeminfo.cpp
index eddfb26b34..fde43d27dd 100644
--- a/rbutil/rbutilqt/base/systeminfo.cpp
+++ b/rbutil/rbutilqt/base/systeminfo.cpp
@@ -59,6 +59,7 @@ const static struct {
{ SystemInfo::CurName, ":platform:/name", "" },
{ SystemInfo::CurBuildserverModel, ":platform:/buildserver_modelname", "" },
{ SystemInfo::CurConfigureModel, ":platform:/configure_modelname", "" },
+ { SystemInfo::CurPlayerPicture, ":platform:/playerpic", "" },
};
//! pointer to setting object to NULL
diff --git a/rbutil/rbutilqt/base/systeminfo.h b/rbutil/rbutilqt/base/systeminfo.h
index 9eddd5ed38..0e603f865e 100644
--- a/rbutil/rbutilqt/base/systeminfo.h
+++ b/rbutil/rbutilqt/base/systeminfo.h
@@ -63,6 +63,7 @@ class SystemInfo : public QObject
CurName,
CurBuildserverModel,
CurConfigureModel,
+ CurPlayerPicture,
};
enum PlatformType {