29#ifndef SRC_HEADERS_GX_MAIN_MIDI_H_
30#define SRC_HEADERS_GX_MAIN_MIDI_H_
32#ifndef SRC_HEADERS_GX_PARAMETER_H_
60 static void response_cb(GtkWidget *widget, gint response_id, gpointer data);
61 static void edited_cb(GtkCellRendererText *renderer, gchar *path,
62 gchar *new_text, gpointer data);
81 { gx_engine::Parameter::toggle_type::OnOff,
"off /on states transition toggle" },
82 { gx_engine::Parameter::toggle_type::Constant,
"constant state toggle" },
83 { gx_engine::Parameter::toggle_type::Toggle,
"toggle state" },
84 { gx_engine::Parameter::toggle_type::Commander,
"always toggle" }
GtkAdjustment * adj_upper
static void toggle_behaviours_visibility(GtkWidget *widget, gpointer data)
static void midi_response_cb(GtkWidget *widget, gint response_id, gpointer data)
static void midi_destroy_cb(GtkWidget *widget, gpointer data)
gx_engine::Parameter & param
MidiConnect(GdkEventButton *event, gx_engine::Parameter ¶m, gx_engine::GxMachineBase &machine)
static const char * ctl_to_str(int n)
std::map< gx_engine::Parameter::toggle_type, const char * > toggle_behaviour_descriptions
gx_engine::GxMachineBase & machine
static void changed_text_handler(GtkEditable *entry, gpointer data)
static string ctr_desc(int ctr)
static gboolean check_midi_cb(gpointer)
GtkAdjustment * adj_lower
GtkWidget * toggle_behaviours
GtkToggleButton * use_toggle
static GtkWidget * window
@ RESPONSE_DELETE_SELECTED
MidiControllerTable(gx_engine::GxMachineBase &machine, Glib::RefPtr< ToggleAction > item)
static void response_cb(GtkWidget *widget, gint response_id, gpointer data)
Glib::RefPtr< ToggleAction > menuaction
GtkTreeSelection * selection
gx_engine::GxMachineBase & machine
static void edited_cb(GtkCellRendererText *renderer, gchar *path, gchar *new_text, gpointer data)
static void toggle(gx_engine::GxMachineBase &machine, Glib::RefPtr< ToggleAction > item)
static void destroy_cb(GtkWidget *, gpointer data)
static void toggleButtonSetSwitch(GtkWidget *w, gpointer data)
sigc::connection midi_conn
GtkToggleButton * togglebutton