summaryrefslogtreecommitdiff
path: root/src/visualizer.h
diff options
context:
space:
mode:
authorAndrzej Rybczak <electricityispower@gmail.com>2012-09-15 22:27:50 +0200
committerAndrzej Rybczak <electricityispower@gmail.com>2012-09-15 22:58:32 +0200
commit14587cb4ec92f078b8f20cf717e7a4e92ae75c5c (patch)
treecd581d428066d2761c3ee5dde0bcf32ba433b43a /src/visualizer.h
parentf7dba0a578d32677eebdeec76fa5c3204a933d20 (diff)
abstract shared parts of switchTo methods away
Diffstat (limited to 'src/visualizer.h')
-rw-r--r--src/visualizer.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/visualizer.h b/src/visualizer.h
index f25349a7..4285212d 100644
--- a/src/visualizer.h
+++ b/src/visualizer.h
@@ -25,14 +25,15 @@
#ifdef ENABLE_VISUALIZER
-#include "window.h"
+#include "interfaces.h"
#include "screen.h"
+#include "window.h"
#ifdef HAVE_FFTW3_H
# include <fftw3.h>
#endif
-struct Visualizer : public Screen<NC::Window>
+struct Visualizer: Screen<NC::Window>, Tabbable
{
Visualizer();
@@ -48,7 +49,6 @@ struct Visualizer : public Screen<NC::Window>
virtual void spacePressed() OVERRIDE;
virtual void mouseButtonPressed(MEVENT) OVERRIDE { }
- virtual bool isTabbable() OVERRIDE { return true; }
virtual bool isMergable() OVERRIDE { return true; }
// private members