LUMIERA.clone/gui/src/dialogs/render.cpp

46 lines
1.4 KiB
C++
Raw Normal View History

2008-04-09 00:21:05 +02:00
/*
render.cpp - Definition of the main workspace window object
Copyright (C) Lumiera.org
2008, Joel Holdsworth <joel@airwebreathe.org.uk>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
* *****************************************************/
2008-04-09 00:21:05 +02:00
#include "render.hpp"
2008-04-09 00:21:05 +02:00
namespace lumiera {
namespace gui {
namespace dialogs {
2008-04-09 00:21:05 +02:00
Render::Render(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml>& xml) :
Gtk::Dialog(cobject)
{
}
2008-04-10 16:36:21 +02:00
void
Render::init(Gtk::Window &parent,
const Glib::RefPtr<Gnome::Glade::Xml>& glade_xml, Render*& dialog)
{
glade_xml->get_widget_derived("Render", dialog);
if(dialog != NULL) dialog->set_transient_for(parent);
}
} // namespace dialogs
} // namespace gui
} // namespace lumiera