initialize screens only if necessary
This commit is contained in:
@@ -27,7 +27,6 @@
|
||||
class Help : public Screen<Scrollpad>
|
||||
{
|
||||
public:
|
||||
virtual void Init();
|
||||
virtual void Resize();
|
||||
virtual void SwitchTo();
|
||||
|
||||
@@ -40,6 +39,9 @@ class Help : public Screen<Scrollpad>
|
||||
|
||||
virtual List *GetList() { return 0; }
|
||||
|
||||
protected:
|
||||
virtual void Init();
|
||||
|
||||
private:
|
||||
std::string DisplayKeys(int *, int = 2);
|
||||
void GetKeybindings();
|
||||
|
||||
Reference in New Issue
Block a user