1 |
/* -*- c++ -*- |
/* -*- c++ -*- |
2 |
* Copyright (C) 2013-2016 Andreas Persson |
* Copyright (C) 2013-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 |
20 |
#ifndef GIGEDIT_MIDIRULES_H |
#ifndef GIGEDIT_MIDIRULES_H |
21 |
#define GIGEDIT_MIDIRULES_H |
#define GIGEDIT_MIDIRULES_H |
22 |
|
|
23 |
#include <gig.h> |
#ifdef LIBGIG_HEADER_FILE |
24 |
|
# include LIBGIG_HEADER_FILE(gig.h) |
25 |
|
#else |
26 |
|
# include <gig.h> |
27 |
|
#endif |
28 |
|
|
29 |
#include <gtkmm/box.h> |
#include <gtkmm/box.h> |
30 |
#include <gtkmm/button.h> |
#include <gtkmm/button.h> |
47 |
#include "compat.h" |
#include "compat.h" |
48 |
#include "ManagedWindow.h" |
#include "ManagedWindow.h" |
49 |
|
|
50 |
class MidiRuleCtrlTrigger : public Gtk::VBox, |
class MidiRuleCtrlTrigger : public VBox, |
51 |
public PropEditor<gig::MidiRuleCtrlTrigger> { |
public PropEditor<gig::MidiRuleCtrlTrigger> { |
52 |
public: |
public: |
53 |
MidiRuleCtrlTrigger(); |
MidiRuleCtrlTrigger(); |
101 |
Table table; |
Table table; |
102 |
NumEntryTemp<uint8_t> eControllerNumber; |
NumEntryTemp<uint8_t> eControllerNumber; |
103 |
|
|
104 |
Gtk::VBox vbox; |
VBox vbox; |
105 |
Glib::RefPtr<Gtk::ListStore> list_store; |
Glib::RefPtr<Gtk::ListStore> list_store; |
106 |
Gtk::TreeView tree_view; |
Gtk::TreeView tree_view; |
107 |
Gtk::ScrolledWindow scrolled_window; |
Gtk::ScrolledWindow scrolled_window; |
163 |
NUMBER_OF_RULES |
NUMBER_OF_RULES |
164 |
}; |
}; |
165 |
|
|
166 |
Gtk::VBox vbox; |
VBox vbox; |
167 |
|
|
168 |
Gtk::Label label; |
Gtk::Label label; |
169 |
Gtk::ComboBoxText combo; |
Gtk::ComboBoxText combo; |
170 |
Gtk::HBox hbox; |
HBox hbox; |
171 |
|
|
172 |
Gtk::HBox box; |
HBox box; |
173 |
|
|
174 |
MidiRuleCtrlTrigger ctrl_trigger; |
MidiRuleCtrlTrigger ctrl_trigger; |
175 |
MidiRuleLegato legato; |
MidiRuleLegato legato; |
176 |
|
|
177 |
Gtk::HButtonBox button_box; |
HButtonBox button_box; |
178 |
Gtk::Button quit_button; |
Gtk::Button quit_button; |
179 |
|
|
180 |
const Glib::ustring unknown; |
const Glib::ustring unknown; |