summaryrefslogtreecommitdiff
path: root/plugingui/knob.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/knob.h')
-rw-r--r--plugingui/knob.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugingui/knob.h b/plugingui/knob.h
index a78361b..515d872 100644
--- a/plugingui/knob.h
+++ b/plugingui/knob.h
@@ -36,6 +36,7 @@ public:
Knob(Widget *parent);
bool catchMouse() { return true; }
+ bool isFocusable() { return true; }
void setValue(float value);
float value();
@@ -49,6 +50,7 @@ public:
virtual void buttonEvent(ButtonEvent *e);
virtual void mouseMoveEvent(MouseMoveEvent *e);
virtual void scrollEvent(ScrollEvent *e);
+ virtual void keyEvent(KeyEvent *e);
private:
typedef enum {