summaryrefslogtreecommitdiff
path: root/libtemplate/templatefunction.h
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2014-11-01 13:03:52 +0100
committerlouis <louis.braun@gmx.de>2014-11-01 13:03:52 +0100
commitf9f2c47cb258874dcdd75bd2154a60c65f068657 (patch)
treefdf8d6fd731f46a83f90a3a6e52013d1a275f856 /libtemplate/templatefunction.h
parent13817c785fcf2589f857b169fd9af9e428dc64b5 (diff)
downloadvdr-plugin-skindesigner-f9f2c47cb258874dcdd75bd2154a60c65f068657.tar.gz
vdr-plugin-skindesigner-f9f2c47cb258874dcdd75bd2154a60c65f068657.tar.bz2
added printf function for <drawtext>
Diffstat (limited to 'libtemplate/templatefunction.h')
-rw-r--r--libtemplate/templatefunction.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libtemplate/templatefunction.h b/libtemplate/templatefunction.h
index b6c2d53..2af95dd 100644
--- a/libtemplate/templatefunction.h
+++ b/libtemplate/templatefunction.h
@@ -143,6 +143,7 @@ protected:
bool SetTextTokens(string value);
void ParseTextToken(string &value, size_t start, size_t end);
void ParseConditionalTextToken(string &value, size_t start, size_t end);
+ void ParsePrintfTextToken(string &value, size_t start, size_t end);
bool SetScrollMode(string value);
bool SetScrollSpeed(string value);
bool SetOrientation(string value);
@@ -152,6 +153,7 @@ protected:
void ParseNumericalParameters(void);
void CalculateAlign(int elementWidth, int elementHeight);
int CalculateTextBoxHeight(void);
+ int ReplaceIntToken(string intTok);
public:
cTemplateFunction(eFuncType type);
virtual ~cTemplateFunction(void);