summaryrefslogtreecommitdiff
path: root/displaymenu.c
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2013-01-13 12:20:25 +0100
committerlouis <louis.braun@gmx.de>2013-01-13 12:20:25 +0100
commit8d2689ab08be6da1465506534cd4e35bf81888d2 (patch)
tree2f09fafcb97d43044050f3cf1b0456aca0b4532f /displaymenu.c
parentd0837be96f032dec191fb56a28f6376efc4dbc4c (diff)
downloadskin-nopacity-8d2689ab08be6da1465506534cd4e35bf81888d2.tar.gz
skin-nopacity-8d2689ab08be6da1465506534cd4e35bf81888d2.tar.bz2
Added channel logos in main menu timers list
Diffstat (limited to 'displaymenu.c')
-rw-r--r--displaymenu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/displaymenu.c b/displaymenu.c
index 747d89d..7475943 100644
--- a/displaymenu.c
+++ b/displaymenu.c
@@ -73,7 +73,7 @@ void cNopacityDisplayMenu::DrawTimers(void) {
if (initial)
if (FadeTime)
t->SetAlpha(0);
- currentHeight += t->pixmap->ViewPort().Height() + menuView->spaceMenu;
+ currentHeight += t->GetHeight() + menuView->spaceMenu;
if (currentHeight < maxTimersHeight) {
timers.Add(t);
} else {
@@ -84,7 +84,7 @@ void cNopacityDisplayMenu::DrawTimers(void) {
}
} else {
for (cNopacityTimer *t = timers.First(); t; t = timers.Next(t)) {
- t->SetLayer(2);
+ t->Show();
}
}
timersDrawn = true;
@@ -185,7 +185,7 @@ void cNopacityDisplayMenu::SetMenuCategory(eMenuCategory MenuCategory) {
}
if (config.showTimers) {
for (cNopacityTimer *t = timers.First(); t; t = timers.Next(t)) {
- t->SetLayer(-1);
+ t->Hide();
}
timersDrawn = false;
}