synfig-studio  1.0.3
Public Member Functions | List of all members
studio::Widget_Gradient Class Reference

#include <widget_gradient.h>

Public Member Functions

 Widget_Gradient ()
 ~Widget_Gradient ()
sigc::signal< void > & signal_value_changed ()
sigc::signal< void > & signal_clicked ()
sigc::signal< void,
synfig::Gradient::CPoint > & 
signal_cpoint_selected ()
void set_value (const synfig::Gradient &x)
const synfig::Gradient & get_value () const
void set_editable (bool x=true)
bool get_editable () const
void set_selected_cpoint (const synfig::Gradient::CPoint &x)
const synfig::Gradient::CPoint & get_selected_cpoint ()
void update_cpoint (const synfig::Gradient::CPoint &x)
bool on_draw (const ::Cairo::RefPtr< ::Cairo::Context > &cr)
bool on_event (GdkEvent *event)

Constructor & Destructor Documentation

Widget_Gradient::Widget_Gradient ( )
Widget_Gradient::~Widget_Gradient ( )

Member Function Documentation

sigc::signal<void>& studio::Widget_Gradient::signal_value_changed ( )
inline
sigc::signal<void>& studio::Widget_Gradient::signal_clicked ( )
inline
sigc::signal<void,synfig::Gradient::CPoint>& studio::Widget_Gradient::signal_cpoint_selected ( )
inline
void Widget_Gradient::set_value ( const synfig::Gradient &  x)
const synfig::Gradient& studio::Widget_Gradient::get_value ( ) const
inline
void studio::Widget_Gradient::set_editable ( bool  x = true)
inline
bool studio::Widget_Gradient::get_editable ( ) const
inline
void Widget_Gradient::set_selected_cpoint ( const synfig::Gradient::CPoint &  x)

Referenced by on_event(), and set_value().

const synfig::Gradient::CPoint& studio::Widget_Gradient::get_selected_cpoint ( )
inline
void Widget_Gradient::update_cpoint ( const synfig::Gradient::CPoint &  x)
bool Widget_Gradient::on_draw ( const ::Cairo::RefPtr< ::Cairo::Context > &  cr)
bool Widget_Gradient::on_event ( GdkEvent *  event)

Use SHIFT to stack two CPoints together.

References CONTROL_HEIGHT, and set_selected_cpoint().


The documentation for this class was generated from the following files: