1 /* === S Y N F I G ========================================================= */
2 /*! \file dialog_waypoint.h
3 ** \brief Template Header
5 ** $Id: widget_waypoint.h,v 1.1.1.1 2005/01/07 03:34:37 darco Exp $
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_WAYPOINT_H
26 #define __SYNFIG_GTKMM_WIDGET_WAYPOINT_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/adjustment.h>
36 //#include <gtkmm/scrolledwindow.h>
37 #include <gtkmm/table.h>
38 #include <gtkmm/button.h>
39 //#include <gtkmm/progressbar.h>
40 //#include <atkmm/stateset.h>
41 //#include <gtkmm/paned.h>
42 #include <gtkmm/box.h>
43 //#include <gtkmm/scrollbar.h>
44 #include <gtkmm/combo.h>
45 #include <gtkmm/optionmenu.h>
46 #include <gtkmm/spinbutton.h>
49 #include <synfigapp/value_desc.h>
50 #include <synfig/waypoint.h>
51 //#include <synfig/valuenode_dynamiclist.h>
52 #include <synfig/string.h>
53 #include <synfig/time.h>
55 /* === M A C R O S ========================================================= */
57 /* === T Y P E D E F S ===================================================== */
60 /* === C L A S S E S & S T R U C T S ======================================= */
64 class Widget_ValueBase;
66 class Widget_Waypoint;
68 class Widget_Waypoint : public Gtk::Table
70 Widget_ValueBase *value_widget;
71 Gtk::Label *value_node_label;
73 Widget_Time *time_widget;
74 mutable synfig::Waypoint waypoint;
75 synfig::Canvas::Handle canvas;
76 //Gtk::Adjustment time_adjustment;
79 Gtk::OptionMenu *before, *after;
80 Gtk::Menu *before_options,*after_options;
82 Gtk::SpinButton *spin_tension, *spin_continuity, *spin_bias, *spin_temporal_tension;
83 Gtk::Adjustment adj_tension, adj_continuity, adj_bias, adj_temporal_tension;
84 // Gtk::ComboDropDownItem item;
87 Widget_Waypoint(etl::handle<synfig::Canvas> canvas);
88 void set_canvas(synfig::Canvas::Handle x);
89 void set_waypoint(synfig::Waypoint &x);
90 const synfig::Waypoint &get_waypoint()const;
91 }; // END of class Widget_Waypoint
93 }; // END of namespace studio
95 /* === E N D =============================================================== */