summaryrefslogtreecommitdiff
path: root/libtemplate/templatefunction.h
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2015-04-11 16:21:33 +0200
committerlouis <louis.braun@gmx.de>2015-04-11 16:21:33 +0200
commit6872e29fe6d628acd95a5f5eded6f372102fea31 (patch)
treef8e477521aac387c8a8397b9592314dc44d3bef0 /libtemplate/templatefunction.h
parent5146f15e44d9523e3dc96bf0f5e0aeaf1bee9c2f (diff)
downloadvdr-plugin-skindesigner-6872e29fe6d628acd95a5f5eded6f372102fea31.tar.gz
vdr-plugin-skindesigner-6872e29fe6d628acd95a5f5eded6f372102fea31.tar.bz2
added possibility to draw a debug grid in views
Diffstat (limited to 'libtemplate/templatefunction.h')
-rw-r--r--libtemplate/templatefunction.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libtemplate/templatefunction.h b/libtemplate/templatefunction.h
index fa2e86a..fdc66b0 100644
--- a/libtemplate/templatefunction.h
+++ b/libtemplate/templatefunction.h
@@ -41,6 +41,9 @@ enum eParamType {
ptCond,
ptName,
ptMode,
+ ptDrawDebugGrid,
+ ptDebugGridX,
+ ptDebugGridY,
ptX,
ptY,
ptWidth,
@@ -165,6 +168,7 @@ protected:
bool SetDetached(string value);
bool SetBackground(string value);
bool SetDirection(string value);
+ void SetDebugGrid(string value);
void ParseStringParameters(void);
void ParseNumericalParameters(void);
void CalculateAlign(int elementWidth, int elementHeight);