rename Screen::Cmp() to Screen::ActiveWindow() as it's more logical

This commit is contained in:
Andrzej Rybczak
2009-04-03 22:29:03 +02:00
parent 1a9c035f0a
commit 2d8b5f7abc
3 changed files with 18 additions and 18 deletions

View File

@@ -33,7 +33,7 @@ class BasicScreen
BasicScreen() : hasToBeResized(0) { }
virtual ~BasicScreen() { }
virtual void *Cmp() = 0;
virtual void *ActiveWindow() = 0;
virtual void Init() = 0;
virtual void SwitchTo() = 0;
@@ -69,7 +69,7 @@ template <typename WindowType> class Screen : public BasicScreen
Screen() : w(0) { }
virtual ~Screen() { }
virtual void *Cmp();
virtual void *ActiveWindow();
WindowType *Main();
@@ -82,7 +82,7 @@ template <typename WindowType> class Screen : public BasicScreen
WindowType *w;
};
template <typename WindowType> void *Screen<WindowType>::Cmp()
template <typename WindowType> void *Screen<WindowType>::ActiveWindow()
{
return w;
}