mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 17:58:31 +02:00
fixed bug that setup int parameters do not respect max value
This commit is contained in:
parent
b62c4ceae0
commit
f44aabb7ac
2
HISTORY
2
HISTORY
@ -426,3 +426,5 @@ Version 0.7.0
|
||||
- fixed compiling fur unpatched VDR
|
||||
|
||||
Version 0.7.1
|
||||
|
||||
- fixed bug that setup int parameters do not respect the max value
|
||||
|
@ -37,7 +37,7 @@ void cSkinSetupParameter::Debug(void) {
|
||||
dsyslog("skindesigner: min %d, max %d", min, max);
|
||||
if (type == sptString && options) {
|
||||
for (int i=0; i < numOptions; i++) {
|
||||
dsyslog("skindesigner: option %d: %s, translated: %s", i+1, options[i], optionsTranslated[i]);
|
||||
dsyslog("skindesigner: option %d: %s", i+1, options[i]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -600,6 +600,7 @@ void cXmlParser::ParseSetupParameter(void) {
|
||||
GetAttribute(attributeName, paramName);
|
||||
GetAttribute(attributeDisplayText, paramDisplayText);
|
||||
GetAttribute(attributeMin, paramMin);
|
||||
GetAttribute(attributeMax, paramMax);
|
||||
GetAttribute(attributeOptions, paramOptions);
|
||||
GetNodeValue(paramValue);
|
||||
|
||||
|
@ -788,7 +788,6 @@ void cView::DoDrawTextBox(int num, cTemplateFunction *func, int x0, int y0) {
|
||||
DrawText(num, pos, "...", clr, clrBack, fontName, fontSize);
|
||||
break;
|
||||
}
|
||||
esyslog("skindesigner: drawing regular line yLine %d", yLine);
|
||||
DrawText(num, pos, wrapper.GetLine(line), clr, clrBack, fontName, fontSize);
|
||||
yLine += fontHeight;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user