Theme Editor: Began in implementing tag rendering, %X tag now recognized

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27043 a1c6a512-1295-4272-9138-f99709370657
diff --git a/utils/themeeditor/graphics/rbscreen.h b/utils/themeeditor/graphics/rbscreen.h
index 6a9da2f..b60705b 100644
--- a/utils/themeeditor/graphics/rbscreen.h
+++ b/utils/themeeditor/graphics/rbscreen.h
@@ -26,6 +26,7 @@
 
 #include "projectmodel.h"
 #include "rbrenderinfo.h"
+#include "rbimage.h"
 
 class RBViewport;
 
@@ -50,6 +51,14 @@
     }
     void showViewport(QString name);
 
+    void loadImage(QString name, RBImage* image)
+    {
+        images.insert(name, image);
+    }
+    RBImage* getImage(QString name){ return images.value(name, 0); }
+
+    void setBackdrop(QString filename);
+
     static QColor stringToColor(QString str, QColor fallback);
 
 
@@ -59,10 +68,13 @@
     QColor bgColor;
     QColor fgColor;
     QPixmap* backdrop;
+    QString themeBase;
 
     ProjectModel* project;
 
     QMap<QString, RBViewport*> namedViewports;
+    QMap<QString, RBImage*> images;
+    QMap<QString, QString>* settings;
 
 };