summaryrefslogtreecommitdiff
path: root/coreengine/gridelement.h
diff options
context:
space:
mode:
Diffstat (limited to 'coreengine/gridelement.h')
-rw-r--r--coreengine/gridelement.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/coreengine/gridelement.h b/coreengine/gridelement.h
new file mode 100644
index 0000000..6e94985
--- /dev/null
+++ b/coreengine/gridelement.h
@@ -0,0 +1,27 @@
+#ifndef __GRIDELEMENT_H
+#define __GRIDELEMENT_H
+
+#include "viewelement.h"
+
+class cGridElement : public cViewElement {
+private:
+ int viewId;
+ int plugId;
+ bool current;
+ int indexCurrent;
+public:
+ cGridElement(void);
+ cGridElement(const cGridElement &other);
+ virtual ~cGridElement(void);
+ void SetPluginId(int plugId) { this->plugId = plugId; };
+ void SetViewId(int viewId) { this->viewId = viewId; };
+ void SetTokenContainer(void);
+ skindesignerapi::cTokenContainer *GetTokenContainer(void) { return tokenContainer; };
+ void Set(skindesignerapi::cTokenContainer *tk);
+ void SetCurrent(bool current);
+ bool Parse(bool forced = true);
+ int Width(void);
+ int Height(void);
+};
+
+#endif //__GRIDELEMENT_H \ No newline at end of file