- Main Page
- Related Pages
- Namespaces
- Classes
- Files

# widget_waypoint.h

Go to the documentation of this file.

    00001 /* === S Y N F I G ========================================================= */
    00021 /* ========================================================================= */
    00022
    00023 /* === S T A R T =========================================================== */
    00024
    00025 #ifndef __SYNFIG_GTKMM_WIDGET_WAYPOINT_H
    00026 #define __SYNFIG_GTKMM_WIDGET_WAYPOINT_H
    00027
    00028 /* === H E A D E R S ======================================================= */
    00029
    00030 //#include <gtk/gtk.h>
    00031 //#include <gtkmm/arrow.h>
    00032 //#include <gtkmm/image.h>
    00033 //#include <gdkmm/pixbufloader.h>
    00034 //#include <gtkmm/viewport.h>
    00035 #include <gtkmm/adjustment.h>
    00036 //#include <gtkmm/scrolledwindow.h>
    00037 #include <gtkmm/table.h>
    00038 #include <gtkmm/button.h>
    00039 //#include <gtkmm/progressbar.h>
    00040 //#include <gtkmm/paned.h>
    00041 #include <gtkmm/box.h>
    00042 //#include <gtkmm/scrollbar.h>
    00043 #include <gtkmm/combo.h>
    00044 #include <gtkmm/optionmenu.h>
    00045 #include <gtkmm/spinbutton.h>
    00046 #include <gtkmm/alignment.h>
    00047
    00048 #include <synfigapp/value_desc.h>
    00049 #include <synfig/waypoint.h>
    00050 //#include <synfig/valuenode_dynamiclist.h>
    00051 #include <synfig/string.h>
    00052 #include <synfig/time.h>
    00053
    00054 /* === M A C R O S ========================================================= */
    00055
    00056 /* === T Y P E D E F S ===================================================== */
    00057
    00058
    00059 /* === C L A S S E S & S T R U C T S ======================================= */
    00060
    00061 namespace studio {
    00062
    00063 class Widget_ValueBase;
    00064 class Widget_Time;
    00065 class Widget_Waypoint;
    00066
    00067 class Widget_Waypoint : public Gtk::Alignment
    00068 {
    00069     Widget_ValueBase *value_widget;
    00070     Gtk::Label *value_node_label;
    00071     Gtk::Label *label;
    00072     Widget_Time *time_widget;
    00073     mutable synfig::Waypoint waypoint;
    00074     synfig::Canvas::Handle canvas;
    00075     //Gtk::Adjustment time_adjustment;
    00076
    00077     Gtk::Combo *in,*out;
    00078     Gtk::OptionMenu *before, *after;
    00079     Gtk::Menu *before_options,*after_options;
    00080
    00081     Gtk::SpinButton *spin_tension, *spin_continuity, *spin_bias, *spin_temporal_tension;
    00082     Gtk::Adjustment adj_tension, adj_continuity, adj_bias, adj_temporal_tension;
    00083 //  Gtk::ComboDropDownItem item;
    00084
    00085 public:
    00086     Widget_Waypoint(etl::handle<synfig::Canvas> canvas);
    00087     void set_canvas(synfig::Canvas::Handle x);
    00088     void set_waypoint(synfig::Waypoint &x);
    00089     const synfig::Waypoint &get_waypoint()const;
    00090 }; // END of class Widget_Waypoint
    00091
    00092 }; // END of namespace studio
    00093
    00094 /* === E N D =============================================================== */
    00095
    00096 #endif