1 |
/* -*- c++ -*- |
/* -*- c++ -*- |
2 |
* Copyright (C) 2006-2015 Andreas Persson |
* Copyright (C) 2006-2017 Andreas Persson |
3 |
* |
* |
4 |
* This program is free software; you can redistribute it and/or |
* This program is free software; you can redistribute it and/or |
5 |
* modify it under the terms of the GNU General Public License as |
* modify it under the terms of the GNU General Public License as |
22 |
|
|
23 |
#include <vector> |
#include <vector> |
24 |
|
|
25 |
|
#include <gtkmm/box.h> |
26 |
#include <gtkmm/drawingarea.h> |
#include <gtkmm/drawingarea.h> |
27 |
#include <gtkmm/uimanager.h> |
#include <gtkmm/uimanager.h> |
28 |
#include <gdkmm/window.h> |
#include <gdkmm/window.h> |
32 |
#include "paramedit.h" |
#include "paramedit.h" |
33 |
#include "compat.h" |
#include "compat.h" |
34 |
|
|
35 |
#include <gig.h> |
#ifdef LIBGIG_HEADER_FILE |
36 |
|
# include LIBGIG_HEADER_FILE(gig.h) |
37 |
|
#else |
38 |
|
# include <gig.h> |
39 |
|
#endif |
40 |
|
|
41 |
enum virt_keyboard_mode_t { |
enum virt_keyboard_mode_t { |
42 |
VIRT_KEYBOARD_MODE_NORMAL, |
VIRT_KEYBOARD_MODE_NORMAL, |
79 |
|
|
80 |
gig::Region* get_region() { return region; } |
gig::Region* get_region() { return region; } |
81 |
void set_region(gig::Region* region); |
void set_region(gig::Region* region); |
82 |
|
void select_next_region(); |
83 |
|
void select_prev_region(); |
84 |
|
|
85 |
void on_note_on_event(int key, int velocity); |
void on_note_on_event(int key, int velocity); |
86 |
void on_note_off_event(int key, int velocity); |
void on_note_off_event(int key, int velocity); |