summaryrefslogtreecommitdiff
path: root/libtemplate/templatefunction.h
diff options
context:
space:
mode:
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);