initialize screens only if necessary

This commit is contained in:
Andrzej Rybczak
2009-06-26 18:48:00 +02:00
parent 1147795fc6
commit 450bf1b636
26 changed files with 99 additions and 41 deletions

View File

@@ -33,7 +33,6 @@
class Clock : public Screen<Window>
{
public:
virtual void Init();
virtual void Resize();
virtual void SwitchTo();
@@ -50,6 +49,9 @@ class Clock : public Screen<Window>
virtual List *GetList() { return 0; }
protected:
virtual void Init();
private:
static void Prepare();
static void Set(int, int);