diff options
author | Robert Bieber <robby@bieberphoto.com> | 2010-07-07 22:25:42 +0000 |
---|---|---|
committer | Robert Bieber <robby@bieberphoto.com> | 2010-07-07 22:25:42 +0000 |
commit | 13e97cd5f5330e5c7f52f243ddee5cdce61edfa6 (patch) | |
tree | ee53f022c50fc005665597b4f8146809a053016f /utils/themeeditor/graphics/rbtext.h | |
parent | d4f4104a4ab04cbca75dff874e57dbe34002ded7 (diff) | |
download | rockbox-13e97cd5f5330e5c7f52f243ddee5cdce61edfa6.tar.gz rockbox-13e97cd5f5330e5c7f52f243ddee5cdce61edfa6.zip |
Theme Editor: Implemented line scrolling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27344 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/themeeditor/graphics/rbtext.h')
-rw-r--r-- | utils/themeeditor/graphics/rbtext.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/themeeditor/graphics/rbtext.h b/utils/themeeditor/graphics/rbtext.h index 936a809f6c..b4d9ae3c54 100644 --- a/utils/themeeditor/graphics/rbtext.h +++ b/utils/themeeditor/graphics/rbtext.h | |||
@@ -34,9 +34,13 @@ public: | |||
34 | void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, | 34 | void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, |
35 | QWidget *widget); | 35 | QWidget *widget); |
36 | 36 | ||
37 | int realWidth(){ return image->width(); } | ||
38 | void setOffset(int offset){ this->offset = offset; } | ||
39 | |||
37 | private: | 40 | private: |
38 | QImage* image; | 41 | QImage* image; |
39 | int maxWidth; | 42 | int maxWidth; |
43 | int offset; | ||
40 | 44 | ||
41 | }; | 45 | }; |
42 | 46 | ||