summaryrefslogtreecommitdiff
path: root/libtemplate/templatefunction.h
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2015-03-31 06:57:02 +0200
committerlouis <louis.braun@gmx.de>2015-03-31 06:57:02 +0200
commit3d43200af00372dd54abe2b86b00ca15a4fc6d82 (patch)
tree0acd63aa794fabae179d90c74e7ad38ad9d872c0 /libtemplate/templatefunction.h
parent1ba2ae905ad33f8e311100fd4e9e48653ca4b63d (diff)
downloadvdr-plugin-skindesigner-3d43200af00372dd54abe2b86b00ca15a4fc6d82.tar.gz
vdr-plugin-skindesigner-3d43200af00372dd54abe2b86b00ca15a4fc6d82.tar.bz2
added possibility to draw vertical text bottomum and topdown
Diffstat (limited to 'libtemplate/templatefunction.h')
-rw-r--r--libtemplate/templatefunction.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libtemplate/templatefunction.h b/libtemplate/templatefunction.h
index a862aa7..3c7e515 100644
--- a/libtemplate/templatefunction.h
+++ b/libtemplate/templatefunction.h
@@ -81,6 +81,7 @@ enum eParamType {
ptHideRoot,
ptCache,
ptDeterminateFont,
+ ptDirection,
ptNone
};
@@ -105,6 +106,12 @@ enum eOverflowType {
otCut
};
+enum eDirection {
+ diNone,
+ diBottomUp,
+ diTopDown
+};
+
class cTemplateFunction {
protected:
eFuncType type;
@@ -156,6 +163,7 @@ protected:
bool SetHideRoot(string value);
bool SetDetached(string value);
bool SetBackground(string value);
+ bool SetDirection(string value);
void ParseStringParameters(void);
void ParseNumericalParameters(void);
void CalculateAlign(int elementWidth, int elementHeight);