diff options
author | Andrzej Rybczak <electricityispower@gmail.com> | 2009-06-26 18:48:00 +0200 |
---|---|---|
committer | Andrzej Rybczak <electricityispower@gmail.com> | 2009-06-26 18:48:00 +0200 |
commit | 450bf1b636a2ecd1adc4fe9a1337d1af9c32fe7f (patch) | |
tree | 0405232a5aff9e6ce9970ff1ce9f183e6f14d3a9 /src/help.h | |
parent | 1147795fc6fadc310ccee33dbc6eb59889bc9d6d (diff) |
initialize screens only if necessary
Diffstat (limited to 'src/help.h')
-rw-r--r-- | src/help.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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(); |