1
0
Fork 0
forked from len0rd/rockbox

Theme Editor: Created the RBMovable abstract class for screen elements that can be moved around, began implementing it and making images, viewports, and album art children of it

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27685 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Robert Bieber 2010-08-03 22:29:26 +00:00
parent 851be21f67
commit 83c60a1012
10 changed files with 166 additions and 29 deletions

View file

@ -25,7 +25,9 @@
#include <QPixmap>
#include <QGraphicsItem>
class RBImage: public QGraphicsItem
#include "rbmovable.h"
class RBImage: public RBMovable
{
public:
RBImage(QString file, int tiles, int x, int y, QGraphicsItem* parent = 0);
@ -44,6 +46,9 @@ public:
}
protected:
void saveGeometry();
private:
QPixmap* image;
int tiles;