Remove obsolete includes.
[synfig.git] / synfig-studio / src / gtkmm / dialog_waypoint.h
1 /* === S Y N F I G ========================================================= */
2 /*!     \file dialog_waypoint.h
3 **      \brief Template Header
4 **
5 **      $Id$
6 **
7 **      \legal
8 **      Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
9 **
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.
14 **
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.
19 **      \endlegal
20 */
21 /* ========================================================================= */
22
23 /* === S T A R T =========================================================== */
24
25 #ifndef __SYNFIG_GTKMM_DIALOG_WAYPOINT_H
26 #define __SYNFIG_GTKMM_DIALOG_WAYPOINT_H
27
28 /* === H E A D E R S ======================================================= */
29
30 #include <gtkmm/ruler.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/statusbar.h>
39 #include <gtkmm/button.h>
40 #include <gtkmm/progressbar.h>
41 #include <gtkmm/paned.h>
42 #include <gtkmm/treeview.h>
43 #include <gtkmm/treestore.h>
44 #include <gtkmm/adjustment.h>
45 #include <gtkmm/box.h>
46 #include <gtkmm/scrollbar.h>
47 #include <gtkmm/cellrenderer.h>
48
49 #include <gtkmm/dialog.h>
50 #include <gtkmm/menu.h>
51
52
53 #include <synfigapp/value_desc.h>
54 #include <synfig/valuenode_animated.h>
55 #include <synfig/valuenode_dynamiclist.h>
56 #include <synfig/string.h>
57 #include <synfig/time.h>
58
59 /* === M A C R O S ========================================================= */
60
61 /* === T Y P E D E F S ===================================================== */
62
63
64 /* === C L A S S E S & S T R U C T S ======================================= */
65
66 namespace studio {
67
68 class Widget_ValueBase;
69 class Widget_Waypoint;
70
71 class Dialog_Waypoint : public Gtk::Dialog
72 {
73         Widget_Waypoint *waypointwidget;
74         etl::handle<synfig::Canvas> canvas;
75         synfig::ValueNode_Animated::WaypointList::iterator waypoint;
76         synfigapp::ValueDesc value_desc_;
77
78         sigc::signal<void> signal_changed_;
79
80         sigc::signal<void> signal_delete_;
81         void on_ok_pressed();
82         void on_apply_pressed();
83         void on_delete_pressed();
84
85 public:
86         Dialog_Waypoint(Gtk::Window& parent,etl::handle<synfig::Canvas> canvas);
87         ~Dialog_Waypoint();
88
89     void reset();
90
91         void set_value_desc(synfigapp::ValueDesc value_desc);
92         synfigapp::ValueDesc get_value_desc()const { return value_desc_; }
93
94         void set_waypoint(synfig::ValueNode_Animated::Waypoint x);
95         const synfig::ValueNode_Animated::Waypoint &get_waypoint()const;
96
97         sigc::signal<void> &signal_changed()
98         {return signal_changed_; }
99
100         sigc::signal<void> &signal_delete()
101         {return signal_delete_; }
102 }; // END of Dialog_Waypoint
103
104 }; // END of namespace studio
105
106 /* === E N D =============================================================== */
107
108 #endif