synfig-studio
1.0.3
|
#include <widget_coloredit.h>
Public Member Functions | |
sigc::signal< void > & | signal_activated () |
sigc::signal< void > & | signal_activate () |
void | on_slider_moved (ColorSlider::Type type, float amount) |
void | on_hex_edited () |
bool | on_hex_focus_out (GdkEventFocus *event) |
sigc::signal< void > & | signal_value_changed () |
void | on_color_changed () |
void | activated () |
void | activate () |
void | set_value (const synfig::Color &data) |
const synfig::Color & | get_value () |
synfig::Color | get_value_raw () |
void | set_has_frame (bool x) |
void | set_digits (int x) |
Widget_ColorEdit () | |
~Widget_ColorEdit () |
Protected Member Functions | |
void | on_value_changed () |
Widget_ColorEdit::Widget_ColorEdit | ( | ) |
References _, ATTACH_SPIN_BUTTON, get_value(), on_color_changed(), on_hex_edited(), on_hex_focus_out(), on_value_changed(), set_digits(), set_value(), and SLIDER_ROW.
Widget_ColorEdit::~Widget_ColorEdit | ( | ) |
|
protected |
References activate(), get_value_raw(), studio::ColorSlider::set_color(), and studio::Widget_Color::set_value().
Referenced by on_color_changed(), and Widget_ColorEdit().
|
inline |
Referenced by studio::Dialog_Gradient::Dialog_Gradient().
|
inline |
Referenced by studio::Widget_ValueBase::Widget_ValueBase().
void Widget_ColorEdit::on_slider_moved | ( | ColorSlider::Type | type, |
float | amount | ||
) |
References studio::ColorSlider::adjust_color(), get_value_raw(), set_value(), and studio::ColorSlider::TYPE_B.
void Widget_ColorEdit::on_hex_edited | ( | ) |
References get_value_raw(), and set_value().
Referenced by on_hex_focus_out(), and Widget_ColorEdit().
bool Widget_ColorEdit::on_hex_focus_out | ( | GdkEventFocus * | event | ) |
References on_hex_edited().
Referenced by Widget_ColorEdit().
|
inline |
Referenced by studio::Dialog_Gradient::Dialog_Gradient().
void Widget_ColorEdit::on_color_changed | ( | ) |
References on_value_changed(), and set_value().
Referenced by Widget_ColorEdit().
|
inline |
|
inline |
Referenced by on_value_changed().
void Widget_ColorEdit::set_value | ( | const synfig::Color & | data | ) |
const synfig::Color & Widget_ColorEdit::get_value | ( | ) |
Referenced by studio::Dialog_Color::get_color(), studio::Widget_ValueBase::get_value(), and Widget_ColorEdit().
synfig::Color Widget_ColorEdit::get_value_raw | ( | ) |
Referenced by on_hex_edited(), on_slider_moved(), and on_value_changed().
void Widget_ColorEdit::set_has_frame | ( | bool | x | ) |
References SPINBUTTON_WIDTH.
Referenced by studio::Widget_ValueBase::inside_cellrenderer().
void Widget_ColorEdit::set_digits | ( | int | x | ) |
References SPINBUTTON_WIDTH.
Referenced by Widget_ColorEdit().