1 /* === S Y N F I G ========================================================= */
2 /*! \file dialog_keyframe.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_STUDIO_DIALOG_KEYFRAME_H
26 #define __SYNFIG_STUDIO_DIALOG_KEYFRAME_H
28 /* === H E A D E R S ======================================================= */
30 #include <gtkmm/dialog.h>
31 #include <gtkmm/window.h>
32 #include <gtkmm/tooltips.h>
33 #include <gtkmm/table.h>
34 #include <gtkmm/entry.h>
36 #include <synfigapp/canvasinterface.h>
38 /* === M A C R O S ========================================================= */
40 /* === T Y P E D E F S ===================================================== */
42 /* === C L A S S E S & S T R U C T S ======================================= */
47 class Widget_WaypointModel;
49 class Dialog_Keyframe : public Gtk::Dialog
51 Gtk::Tooltips tooltips_;
52 etl::handle<synfigapp::CanvasInterface> canvas_interface;
54 synfig::Keyframe keyframe_;
56 Gtk::Entry entry_description;
58 Widget_WaypointModel* widget_waypoint_model;
61 void on_apply_pressed();
62 void on_delete_pressed();
65 Dialog_Keyframe(Gtk::Window& parent,etl::handle<synfigapp::CanvasInterface> canvas_interface);
68 const synfig::Keyframe& get_keyframe()const;
69 void set_keyframe(const synfig::Keyframe& x);
73 }; // END of class Dialog_Keyframe
75 }; // END of namespace studio
77 /* === E N D =============================================================== */