2014-12-11 15:53:08 +02:00
|
|
|
/*
|
|
|
|
|
Copyright (C) 2014 Waves Audio Ltd.
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
*/
|
2014-08-07 14:10:28 +03:00
|
|
|
|
|
|
|
|
#ifndef tracks_add_tracks_dialog_h
|
|
|
|
|
#define tracks_add_tracks_dialog_h
|
|
|
|
|
|
|
|
|
|
#include "waves_dialog.h"
|
|
|
|
|
#include <string.h>
|
|
|
|
|
#include "ardour/chan_count.h"
|
|
|
|
|
|
|
|
|
|
namespace TrackFormat {
|
2014-10-16 11:59:35 +03:00
|
|
|
const std::string FormatMono = "Mono";
|
|
|
|
|
const std::string FormatStereo = "Stereo";
|
2014-08-07 14:10:28 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
class AddTracksDialog : public WavesDialog {
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
AddTracksDialog ();
|
|
|
|
|
void setup();
|
|
|
|
|
int count();
|
|
|
|
|
ARDOUR::ChanCount input_channels ();
|
2014-12-16 15:45:41 +02:00
|
|
|
void on_show ();
|
2014-10-21 11:50:10 +03:00
|
|
|
|
2014-08-07 14:10:28 +03:00
|
|
|
private:
|
|
|
|
|
WavesButton& _decrement_button;
|
|
|
|
|
WavesButton& _increment_button;
|
|
|
|
|
WavesButton& _cancel_button;
|
|
|
|
|
WavesButton& _ok_button;
|
|
|
|
|
|
2014-09-11 09:21:57 +03:00
|
|
|
WavesDropdown& _tracks_format_dropdown;
|
2014-08-07 14:10:28 +03:00
|
|
|
Gtk::Entry& _tracks_counter_entry;
|
|
|
|
|
|
2014-09-11 09:21:57 +03:00
|
|
|
void populate_tracks_format_dropdown();
|
2014-08-07 14:10:28 +03:00
|
|
|
|
|
|
|
|
void on_cancel_button (WavesButton*);
|
|
|
|
|
void on_ok_button (WavesButton*);
|
|
|
|
|
void on_decrement_button (WavesButton*);
|
|
|
|
|
void on_increment_button (WavesButton*);
|
|
|
|
|
|
|
|
|
|
void set_track_count(int track_count);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif
|