diff options
Diffstat (limited to 'views/viewgrid.h')
| -rw-r--r-- | views/viewgrid.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/views/viewgrid.h b/views/viewgrid.h new file mode 100644 index 0000000..84209c3 --- /dev/null +++ b/views/viewgrid.h @@ -0,0 +1,26 @@ +#ifndef __VIEWGRID_H +#define __VIEWGRID_H + +#include "string" +#include "map" +#include "view.h" +#include "../libtemplate/templateviewgrid.h" + +using namespace std; + +class cViewGrid { +private: + cTemplateViewGrid *tmplGrid; + map < long, cGrid* > grids; +public: + cViewGrid(cTemplateViewGrid *tmplGrid); + virtual ~cViewGrid(); + void SetGrid(long gridID, double x, double y, double width, double height, map<string,int> *intTokens, map<string,string> *stringTokens); + void SetCurrent(long gridID, bool current); + void Delete(long gridID); + void Clear(void); + void Render(void); + void Debug(void); +}; + +#endif //__DISPLAYMENULISTVIEW_H
\ No newline at end of file |
