summaryrefslogtreecommitdiffstats
path: root/utils/themeeditor/graphics/rbscreen.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/themeeditor/graphics/rbscreen.h')
-rw-r--r--utils/themeeditor/graphics/rbscreen.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/themeeditor/graphics/rbscreen.h b/utils/themeeditor/graphics/rbscreen.h
index f35aef680b..8b5f2f4a16 100644
--- a/utils/themeeditor/graphics/rbscreen.h
+++ b/utils/themeeditor/graphics/rbscreen.h
@@ -60,10 +60,14 @@ public:
RBFont* getFont(int id);
void setBackdrop(QString filename);
+ bool hasBackdrop(){ return backdrop != 0; }
void makeCustomUI(QString id);
static QColor stringToColor(QString str, QColor fallback);
+ QColor foreground(){ return fgColor; }
+ QColor background(){ return bgColor; }
+
private:
int width;