summaryrefslogtreecommitdiff
path: root/src/lyrics.h
diff options
context:
space:
mode:
authorAndrzej Rybczak <electricityispower@gmail.com>2009-06-26 18:48:00 +0200
committerAndrzej Rybczak <electricityispower@gmail.com>2009-06-26 18:48:00 +0200
commit450bf1b636a2ecd1adc4fe9a1337d1af9c32fe7f (patch)
tree0405232a5aff9e6ce9970ff1ce9f183e6f14d3a9 /src/lyrics.h
parent1147795fc6fadc310ccee33dbc6eb59889bc9d6d (diff)
initialize screens only if necessary
Diffstat (limited to 'src/lyrics.h')
-rw-r--r--src/lyrics.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lyrics.h b/src/lyrics.h
index 58cba3b0..781432a7 100644
--- a/src/lyrics.h
+++ b/src/lyrics.h
@@ -43,7 +43,6 @@ class Lyrics : public Screen<Scrollpad>
Lyrics() : itsScrollBegin(0) { }
~Lyrics() { }
- virtual void Init();
virtual void Resize();
virtual void SwitchTo();
@@ -66,6 +65,9 @@ class Lyrics : public Screen<Scrollpad>
static const char *GetPluginName(int offset);
# endif // HAVE_CURL_CURL_H
+ protected:
+ virtual void Init();
+
private:
std::string itsFilenamePath;