29 |
#include <gtkmm/menu.h> |
#include <gtkmm/menu.h> |
30 |
|
|
31 |
#include "dimensionmanager.h" |
#include "dimensionmanager.h" |
32 |
|
#include "paramedit.h" |
33 |
|
|
34 |
#include <gig.h> |
#include <gig.h> |
35 |
|
|
36 |
|
enum virt_keyboard_mode_t { |
37 |
|
VIRT_KEYBOARD_MODE_NORMAL, |
38 |
|
VIRT_KEYBOARD_MODE_CHORD |
39 |
|
}; |
40 |
|
|
41 |
class SortedRegions { |
class SortedRegions { |
42 |
private: |
private: |
43 |
std::vector<gig::Region*> regions; |
std::vector<gig::Region*> regions; |
77 |
void on_note_on_event(int key, int velocity); |
void on_note_on_event(int key, int velocity); |
78 |
void on_note_off_event(int key, int velocity); |
void on_note_off_event(int key, int velocity); |
79 |
|
|
80 |
|
Gtk::HBox m_VirtKeybPropsBox; |
81 |
|
|
82 |
protected: |
protected: |
83 |
virtual void on_realize(); |
virtual void on_realize(); |
84 |
virtual bool on_expose_event(GdkEventExpose* e); |
virtual bool on_expose_event(GdkEventExpose* e); |
155 |
Glib::RefPtr<Gtk::ActionGroup> actionGroup; |
Glib::RefPtr<Gtk::ActionGroup> actionGroup; |
156 |
Glib::RefPtr<Gtk::UIManager> uiManager; |
Glib::RefPtr<Gtk::UIManager> uiManager; |
157 |
|
|
158 |
|
// properties of the virtaul keyboard |
159 |
|
ChoiceEntry<virt_keyboard_mode_t> m_VirtKeybModeChoice; |
160 |
|
Gtk::Label m_VirtKeybVelocityLabelDescr; |
161 |
|
Gtk::Label m_VirtKeybVelocityLabel; |
162 |
|
Gtk::Label m_VirtKeybOffVelocityLabelDescr; |
163 |
|
Gtk::Label m_VirtKeybOffVelocityLabel; |
164 |
|
int currentActiveKey; |
165 |
|
|
166 |
DimensionManager dimensionManager; |
DimensionManager dimensionManager; |
167 |
}; |
}; |
168 |
|
|