added possibility to draw a debug grid in views

This commit is contained in:
louis
2015-04-11 16:21:33 +02:00
parent 5146f15e44
commit 6872e29fe6
23 changed files with 172 additions and 2 deletions

View File

@@ -13,6 +13,7 @@ class cViewElement;
class cView : public cPixmapContainer {
private:
void Init(void);
void DoDrawDebugGrid(void);
void DoFill(int num, cTemplateFunction *func);
void DoDrawText(int num, cTemplateFunction *func, int x0 = 0, int y0 = 0);
void DoDrawTextVertical(int num, cTemplateFunction *func, int x0 = 0, int y0 = 0);
@@ -61,6 +62,7 @@ public:
cView(cTemplateView *tmplView);
cView(cTemplateViewElement *tmplViewElement);
cView(cTemplateViewTab *tmplTab);
void DrawDebugGrid(void);
virtual ~cView();
virtual void Stop(void);
};