void RecordWindow::create_objects()
{
+ int x = xS(5), y = yS(5);
lock_window("RecordWindow::create_objects");
- add_subwindow(new BC_Title(5, 5, _("Select a file to record to:")));
+ add_subwindow(new BC_Title(x, y, _("Select a file to record to:")));
- int x = 5, y = 25;
+ y = yS(25);
format_tools = new FormatTools(mwindow, this, record->default_asset);
format_tools->create_objects(x, y, 1, 1, 1, 1, 1, 1,
/* record->fixed_compression */ 0,
// Not the same as creating a new file at each label.
// Load mode is now located in the RecordGUI
- x = 10;
+// x = xS(10);
// loadmode = new LoadMode(this, x, y, &record->load_mode, 1);
// loadmode->create_objects();
RecordToTracks::RecordToTracks(Record *record, int default_)
- : BC_CheckBox(200, 270, default_) { this->record = record; }
+ : BC_CheckBox(xS(200), yS(270), default_)
+{
+ this->record = record;
+}
RecordToTracks::~RecordToTracks()
-{}
+{
+}
+
int RecordToTracks::handle_event()
{
record->to_tracks = get_value();