get rid of using directives

these in ncmpcpp.cpp stay since a lot of memebers are used.
This commit is contained in:
Andrzej Rybczak
2010-01-22 19:17:35 +01:00
parent e9cd9c89ec
commit a27332a825
18 changed files with 257 additions and 233 deletions

View File

@@ -31,8 +31,6 @@
#include <fcntl.h>
#include <sys/time.h>
using Global::myScreen;
using Global::myPrevScreen;
using Global::MainStartY;
using Global::MainHeight;
@@ -62,6 +60,8 @@ void Visualizer::Init()
void Visualizer::SwitchTo()
{
using Global::myScreen;
if (myScreen == this)
return;
@@ -72,7 +72,7 @@ void Visualizer::SwitchTo()
Resize();
if (myScreen != this && myScreen->isTabbable())
myPrevScreen = myScreen;
Global::myPrevScreen = myScreen;
myScreen = this;
w->Clear();