change wCurrent and wPrev to myScreen

This commit is contained in:
Andrzej Rybczak
2009-02-15 16:09:11 +01:00
parent d762bd9b55
commit 4cdafc5639
13 changed files with 227 additions and 213 deletions

View File

@@ -80,7 +80,7 @@ void Clock::SwitchTo()
)
{
CLEAR_FIND_HISTORY;
wCurrent = w;
myScreen = this;
myPlaylist->Main()->Hide();
current_screen = csClock;
redraw_header = 1;
@@ -97,7 +97,7 @@ std::string Clock::Title()
void Clock::Update()
{
if (Width > size_t(COLS) || Height > main_height)
return;
myPlaylist->SwitchTo();
time_t rawtime;
time(&rawtime);