37 : Dialog(
_(
"Render"), parent, true)
38 , outputFileLabel_(
_(
"Output File:"))
39 , browseButtonImage_(StockID(Stock::INDEX), ICON_SIZE_BUTTON)
40 , outputFileBrowseButton_(
_(
"_Browse..."))
41 , containerFormatLabel_(
_(
"Container Format:"))
42 , renderButtonImage_(StockID(Stock::OK), ICON_SIZE_BUTTON)
43 , audioFrame_(
_(
"Audio"))
44 , videoFrame_(
_(
"Video"))
46 Box* v_box = get_vbox();
47 REQUIRE (v_box !=
NULL);
73 set_resizable (
false);
76 add_button (Stock::CANCEL, RESPONSE_CANCEL);
78 Button* render_button = add_button (Stock::OK, RESPONSE_OK);
79 render_button->set_label (
_(
"_Render"));
82 render_button->grab_default();
90 FileChooserDialog dialog (*
this,
91 _(
"Select a File Name for Rendering"),
92 FILE_CHOOSER_ACTION_SAVE);
95 dialog.add_button (Gtk::Stock::CANCEL, Gtk::RESPONSE_CANCEL);
96 dialog.add_button (Gtk::Stock::SAVE, Gtk::RESPONSE_OK);
98 int result = dialog.run();
99 INFO (
stage,
"%d", result);
100 if (result == RESPONSE_OK)
101 INFO(
stage,
"%s",
"RESPONSE_OK");
Gtk::ComboBox containerFormat_
Gtk::Image browseButtonImage_
Gtk::Entry outputFilePathEntry_
Gtk::HBox containerFormatHBox_
Gtk::Label outputFileLabel_
Gtk::Button outputFileBrowseButton_
Gtk::Image renderButtonImage_
Gtk::Label containerFormatLabel_
Render(Gtk::Window &parent)
Gtk::HBox outputFileHBox_
Global constants and definitions for dialogs.
A set of basic GTK includes for the UI.
This header is for including and configuring NoBug.
static const int BorderPadding
The space in pixels to pad the border of Lumiera dialog boxes.
static const int BoxSpacing
The spacing for VBoxes and HBoxes in Lumiera dialogs.
Lumiera GTK UI implementation root.
Dialog to set up a renter process and define output name and format.