summaryrefslogtreecommitdiff
path: root/skins.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2011-08-21 11:34:30 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2011-08-21 11:34:30 +0200
commit97ad2fa95df2f03e4c1dff9d4ff2d5abcaad42d8 (patch)
tree9df799cbd5216040b56e3bcc5af25c9e564c1614 /skins.c
parente5d2240bbb98f24212213df92ad3ca3e1cf1e0e7 (diff)
downloadvdr-97ad2fa95df2f03e4c1dff9d4ff2d5abcaad42d8.tar.gz
vdr-97ad2fa95df2f03e4c1dff9d4ff2d5abcaad42d8.tar.bz2
Direct access to several class members is now deprecated
Diffstat (limited to 'skins.c')
-rw-r--r--skins.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/skins.c b/skins.c
index 83428730..427e4224 100644
--- a/skins.c
+++ b/skins.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: skins.c 2.2 2011/08/06 09:41:57 kls Exp $
+ * $Id: skins.c 2.3 2011/08/21 11:21:19 kls Exp $
*/
#include "skins.h"
@@ -136,14 +136,14 @@ cSkinDisplayReplay::cProgressBar::cProgressBar(int Width, int Height, int Curren
if (Marks) {
bool Start = true;
for (const cMark *m = Marks->First(); m; m = Marks->Next(m)) {
- int p1 = Pos(m->position);
+ int p1 = Pos(m->Position());
if (Start) {
const cMark *m2 = Marks->Next(m);
- int p2 = Pos(m2 ? m2->position : total);
+ int p2 = Pos(m2 ? m2->Position() : total);
int h = Height / 3;
DrawRectangle(p1, h, p2, Height - h, ColorSelected);
}
- Mark(p1, Start, m->position == Current, ColorMark, ColorCurrent);
+ Mark(p1, Start, m->Position() == Current, ColorMark, ColorCurrent);
Start = !Start;
}
}