22 |
|
|
23 |
#include <vector> |
#include <vector> |
24 |
|
|
25 |
|
#include "compat.h" |
26 |
|
|
27 |
#include <gtkmm/box.h> |
#include <gtkmm/box.h> |
28 |
#include <gtkmm/drawingarea.h> |
#include <gtkmm/drawingarea.h> |
|
#include <gtkmm/uimanager.h> |
|
29 |
#include <gdkmm/window.h> |
#include <gdkmm/window.h> |
30 |
#include <gtkmm/menu.h> |
#include <gtkmm/menu.h> |
31 |
|
|
32 |
|
#if USE_GTKMM_BUILDER |
33 |
|
# include <gtkmm/builder.h> |
34 |
|
#else |
35 |
|
# include <gtkmm/uimanager.h> // deprecated in gtkmm >= 3.21.4 |
36 |
|
#endif |
37 |
|
|
38 |
#include "dimensionmanager.h" |
#include "dimensionmanager.h" |
39 |
#include "paramedit.h" |
#include "paramedit.h" |
40 |
#include "compat.h" |
#include "compat.h" |
95 |
void on_note_on_event(int key, int velocity); |
void on_note_on_event(int key, int velocity); |
96 |
void on_note_off_event(int key, int velocity); |
void on_note_off_event(int key, int velocity); |
97 |
|
|
98 |
Gtk::HBox m_VirtKeybPropsBox; |
HBox m_VirtKeybPropsBox; |
99 |
|
|
100 |
protected: |
protected: |
101 |
#if (GTKMM_MAJOR_VERSION == 2 && GTKMM_MINOR_VERSION < 90) || GTKMM_MAJOR_VERSION < 2 |
#if (GTKMM_MAJOR_VERSION == 2 && GTKMM_MINOR_VERSION < 90) || GTKMM_MAJOR_VERSION < 2 |
196 |
void on_dimension_manager_changed(); |
void on_dimension_manager_changed(); |
197 |
int new_region_pos; |
int new_region_pos; |
198 |
|
|
199 |
Glib::RefPtr<Gtk::ActionGroup> actionGroup; |
Glib::RefPtr<ActionGroup> actionGroup; |
200 |
|
#if USE_GTKMM_BUILDER |
201 |
|
Glib::RefPtr<Gtk::Builder> uiManager; |
202 |
|
#else |
203 |
Glib::RefPtr<Gtk::UIManager> uiManager; |
Glib::RefPtr<Gtk::UIManager> uiManager; |
204 |
|
#endif |
205 |
|
|
206 |
// properties of the virtual keyboard |
// properties of the virtual keyboard |
207 |
ChoiceEntry<virt_keyboard_mode_t> m_VirtKeybModeChoice; |
ChoiceEntry<virt_keyboard_mode_t> m_VirtKeybModeChoice; |