2014-08-07 14:10:28 +03:00
|
|
|
//
|
|
|
|
|
// add_tracks_dialog.h
|
|
|
|
|
// tracks
|
|
|
|
|
//
|
|
|
|
|
// Created by User on 8/5/14.
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
#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 {
|
|
|
|
|
const std::string FormatMono = "MONO";
|
|
|
|
|
const std::string FormatStereo = "STEREO";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
class AddTracksDialog : public WavesDialog {
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
AddTracksDialog ();
|
|
|
|
|
void setup();
|
|
|
|
|
int count();
|
|
|
|
|
ARDOUR::ChanCount input_channels ();
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
WavesButton& _decrement_button;
|
|
|
|
|
WavesButton& _increment_button;
|
|
|
|
|
WavesButton& _cancel_button;
|
|
|
|
|
WavesButton& _ok_button;
|
|
|
|
|
|
|
|
|
|
Gtk::ComboBoxText& _tracks_format_combo;
|
|
|
|
|
Gtk::Entry& _tracks_counter_entry;
|
|
|
|
|
|
2014-08-07 15:36:50 +03:00
|
|
|
void populate_tracks_format_combo();
|
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
|