2007-06-27 17:58:12 -04:00
|
|
|
/*
|
2009-10-14 12:10:01 -04:00
|
|
|
Copyright (C) 2000-2007 Paul Davis
|
2007-06-27 17:58:12 -04:00
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation; either version 2 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program; if not, write to the Free Software
|
|
|
|
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __gtk_ardour_add_midi_cc_track_dialog_h__
|
|
|
|
#define __gtk_ardour_add_midi_cc_track_dialog_h__
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
#include <gtkmm/dialog.h>
|
|
|
|
#include <gtkmm/adjustment.h>
|
|
|
|
#include <gtkmm/spinbutton.h>
|
2009-02-25 13:26:51 -05:00
|
|
|
#include "ardour/types.h"
|
|
|
|
#include "ardour/data_type.h"
|
|
|
|
#include "evoral/Parameter.hpp"
|
2007-06-27 17:58:12 -04:00
|
|
|
|
|
|
|
class AddMidiCCTrackDialog : public Gtk::Dialog
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
AddMidiCCTrackDialog ();
|
|
|
|
|
2008-09-29 18:47:40 -04:00
|
|
|
Evoral::Parameter parameter ();
|
2007-06-27 17:58:12 -04:00
|
|
|
|
|
|
|
private:
|
2008-02-18 20:31:24 -05:00
|
|
|
Gtk::Adjustment _chan_adjustment;
|
|
|
|
Gtk::SpinButton _chan_spinner;
|
2007-06-27 17:58:12 -04:00
|
|
|
Gtk::Adjustment _cc_num_adjustment;
|
|
|
|
Gtk::SpinButton _cc_num_spinner;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* __gtk_ardour_add_midi_cc_track_dialog_h__ */
|