diff options
author | Robert Bieber <robby@bieberphoto.com> | 2010-07-02 00:20:36 +0000 |
---|---|---|
committer | Robert Bieber <robby@bieberphoto.com> | 2010-07-02 00:20:36 +0000 |
commit | 9742704070732aeaa9fa1287045a682db5cf4527 (patch) | |
tree | f459140aa86f7e61e574912fdba80241641feded /utils/themeeditor/graphics/rbviewport.h | |
parent | 5633ece5a85a933a45de3896eb52bb3804849c3b (diff) | |
download | rockbox-9742704070732aeaa9fa1287045a682db5cf4527.tar.gz rockbox-9742704070732aeaa9fa1287045a682db5cf4527.zip |
Theme Editor: Altered tag table entry for %pb to make image optional, implemented progress bar rendering in theme editor
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27229 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/themeeditor/graphics/rbviewport.h')
-rw-r--r-- | utils/themeeditor/graphics/rbviewport.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/themeeditor/graphics/rbviewport.h b/utils/themeeditor/graphics/rbviewport.h index 70f52232af..624a9686da 100644 --- a/utils/themeeditor/graphics/rbviewport.h +++ b/utils/themeeditor/graphics/rbviewport.h @@ -49,13 +49,17 @@ public: QWidget *widget); void setBGColor(QColor color){ background = color; } + QColor getBGColor(){ return background; } void setFGColor(QColor color){ foreground = color; } + QColor getFGColor(){ return foreground; } void makeCustomUI(){ customUI = true; } void clearCustomUI(){ customUI = false; } void newLine(); void write(QString text); void alignText(Alignment align){ textAlign = align; } + int getTextOffset(){ return textOffset.y(); } + void addTextOffset(int height){ textOffset.setY(textOffset.y() + height); } void enableStatusBar(){ showStatusBar = true; } |