mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-20 13:46:30 +01:00
53 lines
1.1 KiB
C
53 lines
1.1 KiB
C
|
|
//
|
||
|
|
// 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;
|
||
|
|
|
||
|
|
void on_cancel(WavesButton*);
|
||
|
|
void on_dont_save(WavesButton*);
|
||
|
|
void on_save(WavesButton*);
|
||
|
|
|
||
|
|
void populate_tracks_mode_combo();
|
||
|
|
|
||
|
|
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
|