diff options
author | Robert Bieber <robby@bieberphoto.com> | 2010-06-30 21:28:11 +0000 |
---|---|---|
committer | Robert Bieber <robby@bieberphoto.com> | 2010-06-30 21:28:11 +0000 |
commit | 35150b6dcb18089ba76a660e6b73caf1dad86579 (patch) | |
tree | eabfb61be2eb8e3a2cfe9796fb3090842fd8bd0c /utils/themeeditor/graphics/rbviewport.h | |
parent | 8114979e8e413caa876cda626fe0b6385bfc56ce (diff) | |
download | rockbox-35150b6dcb18089ba76a660e6b73caf1dad86579.tar.gz rockbox-35150b6dcb18089ba76a660e6b73caf1dad86579.zip |
Theme Editor: Implemented status bar enable/disable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27200 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/themeeditor/graphics/rbviewport.h')
-rw-r--r-- | utils/themeeditor/graphics/rbviewport.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/themeeditor/graphics/rbviewport.h b/utils/themeeditor/graphics/rbviewport.h index 1d65eb8d56..2aff315873 100644 --- a/utils/themeeditor/graphics/rbviewport.h +++ b/utils/themeeditor/graphics/rbviewport.h | |||
@@ -57,6 +57,8 @@ public: | |||
57 | void write(QString text); | 57 | void write(QString text); |
58 | void alignText(Alignment align){ textAlign = align; } | 58 | void alignText(Alignment align){ textAlign = align; } |
59 | 59 | ||
60 | void enableStatusBar(){ showStatusBar = true; } | ||
61 | |||
60 | private: | 62 | private: |
61 | 63 | ||
62 | void alignLeft(); | 64 | void alignLeft(); |
@@ -79,6 +81,9 @@ private: | |||
79 | QList<QGraphicsItem*> centerText; | 81 | QList<QGraphicsItem*> centerText; |
80 | QList<QGraphicsItem*> rightText; | 82 | QList<QGraphicsItem*> rightText; |
81 | Alignment textAlign; | 83 | Alignment textAlign; |
84 | |||
85 | bool showStatusBar; | ||
86 | QPixmap statusBarTexture; | ||
82 | }; | 87 | }; |
83 | 88 | ||
84 | #endif // RBVIEWPORT_H | 89 | #endif // RBVIEWPORT_H |