Fix bug: fps rounding to integer - ID: 3104763
[synfig.git] / synfig-studio / src / gui / docks / dock_timetrack.h
1 /* === S Y N F I G ========================================================= */
2 /*!     \file docks/dock_timetrack.h
3 **      \brief Template Header
4 **
5 **      $Id$
6 **
7 **      \legal
8 **      Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
9 **  Copyright (c) 2009 Carlos López
10 **
11 **      This package is free software; you can redistribute it and/or
12 **      modify it under the terms of the GNU General Public License as
13 **      published by the Free Software Foundation; either version 2 of
14 **      the License, or (at your option) any later version.
15 **
16 **      This package is distributed in the hope that it will be useful,
17 **      but WITHOUT ANY WARRANTY; without even the implied warranty of
18 **      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 **      General Public License for more details.
20 **      \endlegal
21 */
22 /* ========================================================================= */
23
24 /* === S T A R T =========================================================== */
25
26 #ifndef __SYNFIG_STUDIO_DOCK_TIMETRACK_H
27 #define __SYNFIG_STUDIO_DOCK_TIMETRACK_H
28
29 /* === H E A D E R S ======================================================= */
30
31 #include "docks/dockable.h"
32 #include <gtkmm/treeview.h>
33 #include "instance.h"
34 #include "docks/dock_canvasspecific.h"
35
36 /* === M A C R O S ========================================================= */
37
38 /* === T Y P E D E F S ===================================================== */
39
40 /* === C L A S S E S & S T R U C T S ======================================= */
41
42 namespace studio {
43 class Widget_Timeslider;
44 class Widget_Keyframe_List;
45
46 class Dock_Timetrack : public Dock_CanvasSpecific
47 {
48         Gtk::HScrollbar* hscrollbar_;
49         Gtk::VScrollbar* vscrollbar_;
50         Widget_Timeslider* widget_timeslider_;
51         Widget_Keyframe_List* widget_kf_list_;
52         Gtk::Table* table_;
53
54 protected:
55         virtual void init_canvas_view_vfunc(etl::loose_handle<CanvasView> canvas_view);
56         virtual void changed_canvas_view_vfunc(etl::loose_handle<CanvasView> canvas_view);
57
58         void refresh_selected_param();
59         void refresh_rend_desc();
60
61 public:
62
63
64         Dock_Timetrack();
65         ~Dock_Timetrack();
66 }; // END of Dock_Timetrack
67
68 }; // END of namespace studio
69
70 /* === E N D =============================================================== */
71
72 #endif