status: split NcmpcppStatusChanged into smaller pieces

This commit is contained in:
Andrzej Rybczak
2012-09-12 02:41:21 +02:00
parent 8973aac7a1
commit 8f065e2da3
24 changed files with 633 additions and 510 deletions

View File

@@ -32,6 +32,7 @@
#include "settings.h"
#include "status.h"
#include "statusbar.h"
#include "title.h"
using Global::MainHeight;
using Global::MainStartY;
@@ -103,7 +104,7 @@ void Clock::SwitchTo()
if (myScreen != this && myScreen->isTabbable())
Global::myPrevScreen = myScreen;
myScreen = this;
DrawHeader();
drawHeader();
Prepare();
itsPane->refresh();
// clearing screen apparently fixes the problem with last digits being misrendered