int EXRConfigVideo::create_objects() { int x = 10, y = 10; add_subwindow(new EXRUseAlpha(this, x, y)); y += 30; EXRCompression *menu; add_subwindow(new BC_Title(x, y, _("Compression:"))); x += 110; add_subwindow(menu = new EXRCompression(this, x, y, 100)); menu->create_objects(); add_subwindow(new BC_OKButton(this)); return 0; }
void EXRConfigVideo::create_objects() { lock_window("EXRConfigVideo::create_objects"); int x = 10, y = 10; add_subwindow(new EXRUseAlpha(this, x, y)); y += 30; EXRCompression *menu; add_subwindow(new BC_Title(x, y, "Compression:")); x += 110; add_subwindow(menu = new EXRCompression(this, x, y, 100)); menu->create_objects(); add_subwindow(new BC_OKButton(this)); show_window(1); unlock_window(); }