diff options
| author | louis <louis.braun@gmx.de> | 2015-02-12 18:50:58 +0100 |
|---|---|---|
| committer | louis <louis.braun@gmx.de> | 2015-02-12 18:50:58 +0100 |
| commit | 4d7700aecedf475038d57e10f45ab2dd4bcf806f (patch) | |
| tree | 2fefc56fe77c8f4137187515a5f2b57d78425fea /views/view.h | |
| parent | 00ac852820a09f676157a7b487acf51f4fe95ff4 (diff) | |
| download | vdr-plugin-skindesigner-4d7700aecedf475038d57e10f45ab2dd4bcf806f.tar.gz vdr-plugin-skindesigner-4d7700aecedf475038d57e10f45ab2dd4bcf806f.tar.bz2 | |
plugin interface
Diffstat (limited to 'views/view.h')
| -rw-r--r-- | views/view.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/views/view.h b/views/view.h index a793c31..7b5bd9b 100644 --- a/views/view.h +++ b/views/view.h @@ -70,4 +70,31 @@ public: void ClearListItem(void);
};
+class cGrid : public cView {
+protected:
+ bool dirty;
+ bool moved;
+ bool resized;
+ bool current;
+ double x;
+ double y;
+ double width;
+ double height;
+ map <string,string> stringTokens;
+ map <string,int> intTokens;
+ void PositionPixmap(cTemplatePixmap *pix);
+public:
+ cGrid(cTemplateViewElement *tmplGrid);
+ virtual ~cGrid();
+ bool Dirty(void) { return dirty; };
+ bool Moved(void) { return moved; };
+ bool Resized(void) { return resized; };
+ void Set(double x, double y, double width, double height, map <string,int> *intTokens, map <string,string> *stringTokens);
+ void SetCurrent(bool current);
+ void Move(void);
+ void Draw(void);
+ void Clear(void);
+ void DeletePixmaps(void);
+};
+
#endif //__VIEW_H
\ No newline at end of file |
