/* === E N T R Y P O I N T ================================================= */
-Dialog_TargetParam::Dialog_TargetParam(synfig::TargetParam &tparam)
+Dialog_TargetParam::Dialog_TargetParam(Gtk::Window &parent, synfig::TargetParam &tparam):
+ Gtk::Dialog(_("TargetParam Dialog"), parent, false, true)
{
- set_title(_("TargetParam Dialog"));
set_tparam(tparam);
// Custom Video Codec Entry
Gtk::Label* custom_label(manage(new Gtk::Label(CUSTOM_VCODEC)));
void on_vcodec_change();
public:
- Dialog_TargetParam(synfig::TargetParam &tparam);
+ Dialog_TargetParam(Gtk::Window &parent, synfig::TargetParam &tparam);
~Dialog_TargetParam();
synfig::TargetParam get_tparam() const { return tparam_; }
void
RenderSettings::on_targetparam_pressed()
{
- Dialog_TargetParam *dialogtp = new Dialog_TargetParam(tparam);
+ Dialog_TargetParam *dialogtp = new Dialog_TargetParam(*this, tparam);
if(dialogtp->run()==Gtk::RESPONSE_OK)
tparam=dialogtp->get_tparam();