summaryrefslogtreecommitdiff
path: root/coreengine/gridelement.h
blob: 8aae3b528a5ffbc494eb6c363957b4ec61f6a8a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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