diff options
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: | |||
49 | QWidget *widget); | 49 | QWidget *widget); |
50 | 50 | ||
51 | void setBGColor(QColor color){ background = color; } | 51 | void setBGColor(QColor color){ background = color; } |
52 | QColor getBGColor(){ return background; } | ||
52 | void setFGColor(QColor color){ foreground = color; } | 53 | void setFGColor(QColor color){ foreground = color; } |
54 | QColor getFGColor(){ return foreground; } | ||
53 | void makeCustomUI(){ customUI = true; } | 55 | void makeCustomUI(){ customUI = true; } |
54 | void clearCustomUI(){ customUI = false; } | 56 | void clearCustomUI(){ customUI = false; } |
55 | 57 | ||
56 | void newLine(); | 58 | void newLine(); |
57 | void write(QString text); | 59 | void write(QString text); |
58 | void alignText(Alignment align){ textAlign = align; } | 60 | void alignText(Alignment align){ textAlign = align; } |
61 | int getTextOffset(){ return textOffset.y(); } | ||
62 | void addTextOffset(int height){ textOffset.setY(textOffset.y() + height); } | ||
59 | 63 | ||
60 | void enableStatusBar(){ showStatusBar = true; } | 64 | void enableStatusBar(){ showStatusBar = true; } |
61 | 65 | ||