2008-04-09 00:21:05 +02:00
|
|
|
/*
|
2008-04-12 18:46:32 +02:00
|
|
|
render.cpp - Definition of the main workspace window object
|
2008-04-11 23:04:39 +02:00
|
|
|
|
|
|
|
|
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
|
|
|
|
2008-04-16 00:36:15 +02:00
|
|
|
#include "render.hpp"
|
2008-04-09 00:21:05 +02:00
|
|
|
|
2008-04-12 18:46:32 +02:00
|
|
|
namespace lumiera {
|
|
|
|
|
namespace gui {
|
|
|
|
|
namespace dialogs {
|
2008-04-09 00:21:05 +02:00
|
|
|
|
2008-04-12 18:46:32 +02:00
|
|
|
Render::Render(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml>& xml) :
|
|
|
|
|
Gtk::Dialog(cobject)
|
2008-04-11 23:04:39 +02:00
|
|
|
{
|
2008-04-12 18:46:32 +02:00
|
|
|
|
|
|
|
|
}
|
2008-04-10 16:36:21 +02:00
|
|
|
|
2008-04-12 18:46:32 +02:00
|
|
|
void
|
2008-04-16 00:36:15 +02:00
|
|
|
Render::init(Gtk::Window &parent,
|
|
|
|
|
const Glib::RefPtr<Gnome::Glade::Xml>& glade_xml, Render*& dialog)
|
2008-04-12 18:46:32 +02:00
|
|
|
{
|
|
|
|
|
glade_xml->get_widget_derived("Render", dialog);
|
2008-04-16 00:36:15 +02:00
|
|
|
if(dialog != NULL) dialog->set_transient_for(parent);
|
2008-04-11 23:04:39 +02:00
|
|
|
}
|
|
|
|
|
|
2008-04-12 18:46:32 +02:00
|
|
|
} // namespace dialogs
|
|
|
|
|
} // namespace gui
|
|
|
|
|
} // namespace lumiera
|