X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftags%2Fstable%2Fsrc%2Fgtkmm%2Fdock_curves.h;fp=synfig-studio%2Ftags%2Fstable%2Fsrc%2Fgtkmm%2Fdock_curves.h;h=dbe913f45d2eb476da3d69965dc629f458302c11;hb=c1f365570ac471ede0668ad976fad345747aa8de;hp=0000000000000000000000000000000000000000;hpb=a80f59e6c17a85ed04890892fa1616732cdec646;p=synfig.git diff --git a/synfig-studio/tags/stable/src/gtkmm/dock_curves.h b/synfig-studio/tags/stable/src/gtkmm/dock_curves.h new file mode 100644 index 0000000..dbe913f --- /dev/null +++ b/synfig-studio/tags/stable/src/gtkmm/dock_curves.h @@ -0,0 +1,74 @@ +/* === S Y N F I G ========================================================= */ +/*! \file dock_curves.h +** \brief Template Header +** +** $Id$ +** +** \legal +** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley +** +** This package is free software; you can redistribute it and/or +** modify it under the terms of the GNU General Public License as +** published by the Free Software Foundation; either version 2 of +** the License, or (at your option) any later version. +** +** This package is distributed in the hope that it will be useful, +** but WITHOUT ANY WARRANTY; without even the implied warranty of +** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +** General Public License for more details. +** \endlegal +*/ +/* ========================================================================= */ + +/* === S T A R T =========================================================== */ + +#ifndef __SYNFIG_STUDIO_DOCK_CURVES_H +#define __SYNFIG_STUDIO_DOCK_CURVES_H + +/* === H E A D E R S ======================================================= */ + +#include "dockable.h" +#include +#include "instance.h" +#include "dock_canvasspecific.h" + +/* === M A C R O S ========================================================= */ + +/* === T Y P E D E F S ===================================================== */ + +/* === C L A S S E S & S T R U C T S ======================================= */ + +namespace Gtk { class Table; class HScrollbar; class VScrollbar; }; + +namespace studio { + +class Widget_Curves; +class Widget_Timeslider; + +class Dock_Curves : public Dock_CanvasSpecific +{ + Gtk::Table* table_; + Gtk::HScrollbar* hscrollbar_; + Gtk::VScrollbar* vscrollbar_; + + Widget_Timeslider* widget_timeslider_; + Widget_Curves* last_widget_curves_; + +protected: + virtual void init_canvas_view_vfunc(etl::loose_handle canvas_view); + virtual void changed_canvas_view_vfunc(etl::loose_handle canvas_view); + + void refresh_selected_param(); + +public: + + + Dock_Curves(); + ~Dock_Curves(); +}; // END of Dock_Keyframes + +}; // END of namespace studio + +/* === E N D =============================================================== */ + +#endif