X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftags%2F0.61.08%2Fsrc%2Fgtkmm%2Fwidget_waypoint.h;fp=synfig-studio%2Ftags%2F0.61.08%2Fsrc%2Fgtkmm%2Fwidget_waypoint.h;h=be871190a3d04189ffd7ae04a1665db83b5ee07e;hb=79fcd5b32f0accf9f1d13f9b6ded0d628e6f4b33;hp=0000000000000000000000000000000000000000;hpb=c1f365570ac471ede0668ad976fad345747aa8de;p=synfig.git diff --git a/synfig-studio/tags/0.61.08/src/gtkmm/widget_waypoint.h b/synfig-studio/tags/0.61.08/src/gtkmm/widget_waypoint.h new file mode 100644 index 0000000..be87119 --- /dev/null +++ b/synfig-studio/tags/0.61.08/src/gtkmm/widget_waypoint.h @@ -0,0 +1,96 @@ +/* === S Y N F I G ========================================================= */ +/*! \file widget_waypoint.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_GTKMM_WIDGET_WAYPOINT_H +#define __SYNFIG_GTKMM_WIDGET_WAYPOINT_H + +/* === H E A D E R S ======================================================= */ + +//#include +//#include +//#include +//#include +//#include +#include +//#include +#include +#include +//#include +//#include +#include +//#include +#include +#include +#include +#include + +#include +#include +//#include +#include +#include + +/* === 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 studio { + +class Widget_ValueBase; +class Widget_Time; +class Widget_Waypoint; + +class Widget_Waypoint : public Gtk::Alignment +{ + Widget_ValueBase *value_widget; + Gtk::Label *value_node_label; + Gtk::Label *label; + Widget_Time *time_widget; + mutable synfig::Waypoint waypoint; + synfig::Canvas::Handle canvas; + //Gtk::Adjustment time_adjustment; + + Gtk::Combo *in,*out; + Gtk::OptionMenu *before, *after; + Gtk::Menu *before_options,*after_options; + + Gtk::SpinButton *spin_tension, *spin_continuity, *spin_bias, *spin_temporal_tension; + Gtk::Adjustment adj_tension, adj_continuity, adj_bias, adj_temporal_tension; +// Gtk::ComboDropDownItem item; + +public: + Widget_Waypoint(etl::handle canvas); + void set_canvas(synfig::Canvas::Handle x); + void set_waypoint(synfig::Waypoint &x); + const synfig::Waypoint &get_waypoint()const; +}; // END of class Widget_Waypoint + +}; // END of namespace studio + +/* === E N D =============================================================== */ + +#endif