: BC_Window(_(PROGRAM_NAME ": File Format"),
mwindow->gui->get_abs_cursor_x(0),
mwindow->gui->get_abs_cursor_y(0),
: BC_Window(_(PROGRAM_NAME ": File Format"),
mwindow->gui->get_abs_cursor_x(0),
mwindow->gui->get_abs_cursor_y(0),
lock_window("FileFormat::create_objects_");
add_subwindow(new BC_Title(x, y, string2));
lock_window("FileFormat::create_objects_");
add_subwindow(new BC_Title(x, y, string2));
add_subwindow(new BC_Title(x, y, _("Channels:")));
sprintf(string, "%d", asset->channels);
channels_button = new FileFormatChannels(x2, y, this, string);
channels_button->create_objects();
add_subwindow(new BC_Title(x, y, _("Channels:")));
sprintf(string, "%d", asset->channels);
channels_button = new FileFormatChannels(x2, y, this, string);
channels_button->create_objects();
add_subwindow(new BC_Title(x, y, _("Sample rate:")));
sprintf(string, "%d", asset->sample_rate);
add_subwindow(rate_button = new FileFormatRate(x2, y, this, string));
add_subwindow(new BC_Title(x, y, _("Sample rate:")));
sprintf(string, "%d", asset->sample_rate);
add_subwindow(rate_button = new FileFormatRate(x2, y, this, string));
- add_subwindow(new SampleRatePulldown(mwindow, rate_button, x2 + 100, y));
+ add_subwindow(new SampleRatePulldown(mwindow, rate_button, x2 + yS(100), y));
add_subwindow(new BC_Title(x, y, _("Bits:")));
bitspopup = new BitsPopup(this, x2, y,
&asset->bits, 0, 1, 1, 0, 1);
bitspopup->create_objects();
add_subwindow(new BC_Title(x, y, _("Bits:")));
bitspopup = new BitsPopup(this, x2, y,
&asset->bits, 0, 1, 1, 0, 1);
bitspopup->create_objects();
add_subwindow(new BC_Title(x, y, _("Header length:")));
sprintf(string, "%d", asset->header);
add_subwindow(header_button = new FileFormatHeader(x2, y, this, string));
add_subwindow(new BC_Title(x, y, _("Header length:")));
sprintf(string, "%d", asset->header);
add_subwindow(header_button = new FileFormatHeader(x2, y, this, string));
//printf("FileFormat::create_objects_ 1 %d\n", asset->byte_order);
add_subwindow(new BC_Title(x, y, _("Byte order:")));
add_subwindow(lohi = new FileFormatByteOrderLOHI(x2, y, this, asset->byte_order));
add_subwindow(hilo = new FileFormatByteOrderHILO(x2 + 70, y, this, !asset->byte_order));
//printf("FileFormat::create_objects_ 1 %d\n", asset->byte_order);
add_subwindow(new BC_Title(x, y, _("Byte order:")));
add_subwindow(lohi = new FileFormatByteOrderLOHI(x2, y, this, asset->byte_order));
add_subwindow(hilo = new FileFormatByteOrderHILO(x2 + 70, y, this, !asset->byte_order));
add_subwindow(signed_button = new FileFormatSigned(x, y, this, asset->signed_));
add_subwindow(new BC_OKButton(this));
add_subwindow(signed_button = new FileFormatSigned(x, y, this, asset->signed_));
add_subwindow(new BC_OKButton(this));