1 /* === S I N F G =========================================================== */
3 ** \brief Template Header
5 ** $Id: render.h,v 1.2 2005/01/10 08:13:44 darco Exp $
8 ** Copyright (c) 2002 Robert B. Quattlebaum Jr.
10 ** This software and associated documentation
11 ** are CONFIDENTIAL and PROPRIETARY property of
12 ** the above-mentioned copyright holder.
14 ** You may not copy, print, publish, or in any
15 ** other way distribute this software without
16 ** a prior written agreement with
17 ** the copyright holder.
20 /* ========================================================================= */
22 /* === S T A R T =========================================================== */
24 #ifndef __SINFG_STUDIO_GTKMM_RENDER_H
25 #define __SINFG_STUDIO_GTKMM_RENDER_H
27 /* === H E A D E R S ======================================================= */
29 #include <gtkmm/dialog.h>
30 #include <gtkmm/tooltips.h>
31 #include <gtkmm/table.h>
32 #include <gtkmm/entry.h>
33 #include <gtkmm/adjustment.h>
34 #include <gtkmm/spinbutton.h>
35 #include <gtkmm/checkbutton.h>
36 #include <gtkmm/tooltips.h>
37 #include <gtkmm/optionmenu.h>
39 #include <sinfg/string.h>
41 #include <sinfgapp/canvasinterface.h>
45 /* === M A C R O S ========================================================= */
47 /* === T Y P E D E F S ===================================================== */
49 /* === C L A S S E S & S T R U C T S ======================================= */
55 class RenderSettings : public Gtk::Dialog
57 Gtk::Tooltips tooltips;
59 etl::handle<sinfgapp::CanvasInterface> canvas_interface_;
60 Widget_RendDesc widget_rend_desc;
62 Gtk::Entry entry_filename;
64 Gtk::Adjustment adjustment_quality;
65 Gtk::SpinButton entry_quality;
67 Gtk::Adjustment adjustment_antialias;
68 Gtk::SpinButton entry_antialias;
70 Gtk::CheckButton toggle_single_frame;
72 Gtk::OptionMenu optionmenu_target;
73 Gtk::Menu *menu_target;
75 sinfg::String target_name;
77 void set_target(sinfg::String name);
79 etl::handle<AsyncRenderer> async_renderer;
82 RenderSettings(Gtk::Window& parent,etl::handle<sinfgapp::CanvasInterface> canvas_interface);
87 void on_rend_desc_changed();
88 void on_single_frame_toggle();
89 void on_choose_pressed();
90 void on_render_pressed();
91 void on_cancel_pressed();
94 }; // END of class RenderSettings
96 }; // END of namespace studio
99 /* === E N D =============================================================== */