1 /* === S Y N F I G ========================================================= */
2 /*! \file widgets/widget_waypointmodel.h
3 ** \brief Template Header
8 ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
10 ** This package is free software; you can redistribute it and/or
11 ** modify it under the terms of the GNU General Public License as
12 ** published by the Free Software Foundation; either version 2 of
13 ** the License, or (at your option) any later version.
15 ** This package is distributed in the hope that it will be useful,
16 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
17 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 ** General Public License for more details.
21 /* ========================================================================= */
23 /* === S T A R T =========================================================== */
25 #ifndef __SYNFIG_GTKMM_WIDGET_WAYPOINTMODEL_H
26 #define __SYNFIG_GTKMM_WIDGET_WAYPOINTMODEL_H
28 /* === H E A D E R S ======================================================= */
30 //#include <gtk/gtk.h>
31 //#include <gtkmm/arrow.h>
32 //#include <gtkmm/image.h>
33 //#include <gdkmm/pixbufloader.h>
34 //#include <gtkmm/viewport.h>
35 //#include <gtkmm/scrolledwindow.h>
36 #include <gtkmm/table.h>
37 #include <gtkmm/button.h>
38 //#include <gtkmm/progressbar.h>
39 #include <gtkmm/adjustment.h>
40 #include <gtkmm/box.h>
41 #include <gtkmm/combo.h>
42 #include <gtkmm/optionmenu.h>
43 #include <gtkmm/spinbutton.h>
44 #include <gtkmm/checkbutton.h>
47 #include <synfig/waypoint.h>
48 #include <synfig/string.h>
49 #include <synfig/time.h>
51 /* === M A C R O S ========================================================= */
53 /* === T Y P E D E F S ===================================================== */
56 /* === C L A S S E S & S T R U C T S ======================================= */
61 class Widget_WaypointModel;
63 class Widget_WaypointModel : public Gtk::Table
65 synfig::Waypoint::Model waypoint_model;
70 Gtk::OptionMenu *before, *after;
71 Gtk::Menu *before_options,*after_options;
73 Gtk::SpinButton *spin_tension, *spin_continuity, *spin_bias, *spin_temporal_tension;
74 Gtk::Adjustment adj_tension, adj_continuity, adj_bias, adj_temporal_tension;
76 Gtk::CheckButton checkbutton_after;
77 Gtk::CheckButton checkbutton_before;
78 Gtk::CheckButton checkbutton_tension;
79 Gtk::CheckButton checkbutton_continuity;
80 Gtk::CheckButton checkbutton_bias;
81 Gtk::CheckButton checkbutton_temporal_tension;
86 Widget_WaypointModel();
87 void set_waypoint_model(synfig::Waypoint::Model &x);
88 const synfig::Waypoint::Model &get_waypoint_model()const { return waypoint_model; }
89 }; // END of class Widget_WaypointModel
91 }; // END of namespace studio
93 /* === E N D =============================================================== */