diff options
author | louis <louis.braun@gmx.de> | 2015-03-12 17:28:35 +0100 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2015-03-12 17:28:35 +0100 |
commit | 44680b6ce80221e91cb14dca9ca7fad7015f1297 (patch) | |
tree | 8af805db50568ba41ebb461309d5724320295441 /libtemplate/templatefunction.c | |
parent | 45cb6c1663d66ebc22bed8dbc8cdbacdc82ad4a8 (diff) | |
download | vdr-plugin-skindesigner-44680b6ce80221e91cb14dca9ca7fad7015f1297.tar.gz vdr-plugin-skindesigner-44680b6ce80221e91cb14dca9ca7fad7015f1297.tar.bz2 |
version 0.3.00.3.0
Diffstat (limited to 'libtemplate/templatefunction.c')
-rw-r--r-- | libtemplate/templatefunction.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libtemplate/templatefunction.c b/libtemplate/templatefunction.c index 0b3de8a..8156633 100644 --- a/libtemplate/templatefunction.c +++ b/libtemplate/templatefunction.c @@ -725,11 +725,16 @@ bool cTemplateFunction::SetNumericParameter(eParamType type, string value) { break;
case ptY:
case ptHeight:
- case ptFontSize:
case ptScaleTvY:
case ptScaleTvHeight:
param.SetVertical();
break;
+ case ptFontSize: {
+ if (this->type == ftDrawTextVertical)
+ param.SetHorizontal();
+ else
+ param.SetVertical();
+ break; }
case ptLayer:
param.SetDefault(1);
break;
|