initial version
[synfig.git] / synfig-studio / trunk / src / gtkmm / dialog_keyframe.h
1 /* === S I N F G =========================================================== */
2 /*!     \file dialog_keyframe.h
3 **      \brief Template Header
4 **
5 **      $Id: dialog_keyframe.h,v 1.1.1.1 2005/01/07 03:34:36 darco Exp $
6 **
7 **      \legal
8 **      Copyright (c) 2002 Robert B. Quattlebaum Jr.
9 **
10 **      This software and associated documentation
11 **      are CONFIDENTIAL and PROPRIETARY property of
12 **      the above-mentioned copyright holder.
13 **
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.
18 **      \endlegal
19 */
20 /* ========================================================================= */
21
22 /* === S T A R T =========================================================== */
23
24 #ifndef __SINFG_STUDIO_DIALOG_KEYFRAME_H
25 #define __SINFG_STUDIO_DIALOG_KEYFRAME_H
26
27 /* === H E A D E R S ======================================================= */
28
29 #include <gtkmm/dialog.h>
30 #include <gtkmm/window.h>
31 #include <gtkmm/tooltips.h>
32 #include <gtkmm/table.h>
33 #include <gtkmm/entry.h>
34
35 #include <sinfgapp/canvasinterface.h>
36
37 /* === M A C R O S ========================================================= */
38
39 /* === T Y P E D E F S ===================================================== */
40
41 /* === C L A S S E S & S T R U C T S ======================================= */
42
43 namespace studio
44 {
45
46 class Widget_WaypointModel;
47
48 class Dialog_Keyframe : public Gtk::Dialog
49 {
50         Gtk::Tooltips tooltips_;
51         etl::handle<sinfgapp::CanvasInterface> canvas_interface;
52         
53         sinfg::Keyframe keyframe_;
54
55         Gtk::Entry entry_description;
56         
57         Widget_WaypointModel* widget_waypoint_model;
58
59         void on_ok_pressed();
60         void on_apply_pressed();
61         void on_delete_pressed();
62
63 public:
64         Dialog_Keyframe(Gtk::Window& parent,etl::handle<sinfgapp::CanvasInterface> canvas_interface);
65         ~Dialog_Keyframe();
66
67         const sinfg::Keyframe& get_keyframe()const;
68         void set_keyframe(const sinfg::Keyframe& x);
69
70 private:
71
72 }; // END of class RenderSettings
73         
74 }; // END of namespace studio
75
76 /* === E N D =============================================================== */
77
78 #endif