X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Frecordwindow.C;h=0e372f69c24077ccc6137aefd65bec7407e36dad;hp=87ad8cc60cc278fcb3fcc4aaa9929444b0b674a3;hb=b78b166faf60a1c7357f990b1e2fb0e70be29fee;hpb=7fd85fb66168f6b518c5f2d73e04036e87faa0e1 diff --git a/cinelerra-5.1/cinelerra/recordwindow.C b/cinelerra-5.1/cinelerra/recordwindow.C index 87ad8cc6..0e372f69 100644 --- a/cinelerra-5.1/cinelerra/recordwindow.C +++ b/cinelerra-5.1/cinelerra/recordwindow.C @@ -44,10 +44,11 @@ RecordWindow::~RecordWindow() 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, @@ -55,7 +56,7 @@ void RecordWindow::create_objects() // 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(); @@ -67,9 +68,14 @@ void RecordWindow::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();