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

# widget_waypointmodel.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_WAYPOINTMODEL_H
    00026 #define __SYNFIG_GTKMM_WIDGET_WAYPOINTMODEL_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/scrolledwindow.h>
    00036 #include <gtkmm/table.h>
    00037 #include <gtkmm/button.h>
    00038 //#include <gtkmm/progressbar.h>
    00039 #include <gtkmm/adjustment.h>
    00040 #include <gtkmm/box.h>
    00041 #include <gtkmm/combo.h>
    00042 #include <gtkmm/optionmenu.h>
    00043 #include <gtkmm/spinbutton.h>
    00044 #include <gtkmm/checkbutton.h>
    00045
    00046
    00047 #include <synfig/waypoint.h>
    00048 #include <synfig/string.h>
    00049 #include <synfig/time.h>
    00050
    00051 /* === M A C R O S ========================================================= */
    00052
    00053 /* === T Y P E D E F S ===================================================== */
    00054
    00055
    00056 /* === C L A S S E S & S T R U C T S ======================================= */
    00057
    00058 namespace studio {
    00059
    00060 class Widget_Time;
    00061 class Widget_WaypointModel;
    00062
    00063 class Widget_WaypointModel : public Gtk::Table
    00064 {
    00065     synfig::Waypoint::Model waypoint_model;
    00066
    00067     bool updating;
    00068
    00069     Gtk::Combo *in,*out;
    00070     Gtk::OptionMenu *before, *after;
    00071     Gtk::Menu *before_options,*after_options;
    00072
    00073     Gtk::SpinButton *spin_tension, *spin_continuity, *spin_bias, *spin_temporal_tension;
    00074     Gtk::Adjustment adj_tension, adj_continuity, adj_bias, adj_temporal_tension;
    00075
    00076     Gtk::CheckButton checkbutton_after;
    00077     Gtk::CheckButton checkbutton_before;
    00078     Gtk::CheckButton checkbutton_tension;
    00079     Gtk::CheckButton checkbutton_continuity;
    00080     Gtk::CheckButton checkbutton_bias;
    00081     Gtk::CheckButton checkbutton_temporal_tension;
    00082
    00083     void on_change();
    00084
    00085 public:
    00086     Widget_WaypointModel();
    00087     void set_waypoint_model(synfig::Waypoint::Model &x);
    00088     const synfig::Waypoint::Model &get_waypoint_model()const { return waypoint_model; }
    00089 }; // END of class Widget_WaypointModel
    00090
    00091 }; // END of namespace studio
    00092
    00093 /* === E N D =============================================================== */
    00094
    00095 #endif