2015-02-12 18:50:58 +01:00
|
|
|
#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);
|
2015-03-12 17:28:35 +01:00
|
|
|
void Hide(void);
|
|
|
|
void Show(void);
|
2015-02-12 18:50:58 +01:00
|
|
|
void Debug(void);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif //__DISPLAYMENULISTVIEW_H
|