forked from len0rd/rockbox
Theme Editor: Implemented line scrolling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27344 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
d4f4104a4a
commit
13e97cd5f5
5 changed files with 126 additions and 3 deletions
|
@ -34,9 +34,13 @@ public:
|
|||
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option,
|
||||
QWidget *widget);
|
||||
|
||||
int realWidth(){ return image->width(); }
|
||||
void setOffset(int offset){ this->offset = offset; }
|
||||
|
||||
private:
|
||||
QImage* image;
|
||||
int maxWidth;
|
||||
int offset;
|
||||
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue