diff options
| author | louis <louis.braun@gmx.de> | 2015-04-02 11:57:19 +0200 |
|---|---|---|
| committer | louis <louis.braun@gmx.de> | 2015-04-02 11:57:19 +0200 |
| commit | 6d22edc2d8accdfa1fabdd2722859453cc734990 (patch) | |
| tree | cf15ea3cf8df2da35475671bd2252105acacf60a /views | |
| parent | 70ce62e35312afb346db473a1c70178cbba68758 (diff) | |
| download | vdr-plugin-skindesigner-6d22edc2d8accdfa1fabdd2722859453cc734990.tar.gz vdr-plugin-skindesigner-6d22edc2d8accdfa1fabdd2722859453cc734990.tar.bz2 | |
fixed some compiler warnings
Diffstat (limited to 'views')
| -rw-r--r-- | views/view.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/views/view.c b/views/view.c index 344a350..3d7f369 100644 --- a/views/view.c +++ b/views/view.c @@ -360,8 +360,7 @@ void cView::DrawLoop(int numPixmap, cTemplateFunction *func, map < string, vecto int columnWidth = loopFunc->GetNumericParameter(ptColumnWidth);
int rowHeight = loopFunc->GetNumericParameter(ptRowHeight);
int overflow = loopFunc->GetNumericParameter(ptOverflow);
- int maxItems = loopFunc->GetNumericParameter(ptNumElements);
-
+
int x0 = loopX0;
int y0 = loopY0;
@@ -515,7 +514,6 @@ void cView::DoDrawTextVertical(int num, cTemplateFunction *func, int x0, int y0) int fontSize = func->GetNumericParameter(ptFontSize);
int direction = func->GetNumericParameter(ptDirection);
tColor clr = func->GetColorParameter(ptColor);
- tColor clrBack = clrTransparent;
string text = func->GetText(false);
cImage *textVertical = imgCache->GetVerticalText(text, clr, fontName, fontSize, direction);
if (!textVertical)
@@ -649,7 +647,7 @@ void cView::DoDrawFloatingTextBox(int num, cTemplateFunction *func) { std::stringstream sstrTextTall;
std::stringstream sstrTextFull;
- for (int i=0; i<flds.size(); i++) {
+ for (int i=0; i < (int)flds.size(); i++) {
if (!flds[i].size()) {
//empty line
linesDrawn++;
|
