#include <markerwidget.h>
Papyrus::Gtk::MarkerWidget::MarkerWidget | ( | bool | use_preview = true |
) |
References Papyrus::Marker::create(), m_fill_color_button, m_line_cap_buttonbox, m_line_join_buttonbox, m_line_width_entry, m_marker, m_marker_combobox, m_marker_height_entry, m_marker_width_entry, m_stroke_color_button, Papyrus::Marker::NONE, on_fill_color_changed(), on_line_cap_changed(), on_line_join_changed(), on_line_width_changed(), on_marker_height_changed(), on_marker_style_changed(), on_marker_width_changed(), on_stroke_color_changed(), Papyrus::Gtk::LineJoinButtonBox::set_size(), set_use_preview(), Papyrus::Gtk::MarkerComboBox::signal_changed(), Papyrus::Gtk::LineCapButtonBox::signal_selected(), Papyrus::Gtk::LineJoinButtonBox::signal_selected(), and Papyrus::Gtk::SIZE_SMALL.
Papyrus::Gtk::MarkerWidget::~MarkerWidget | ( | ) |
Papyrus::Marker::pointer Papyrus::Gtk::MarkerWidget::get_marker | ( | ) |
References m_marker, and papyrus_dynamic_pointer_cast.
void Papyrus::Gtk::MarkerWidget::on_fill_color_changed | ( | ) | [protected] |
References m_fill_color_button, m_marker, and update_line_marker().
Referenced by MarkerWidget().
void Papyrus::Gtk::MarkerWidget::on_line_cap_changed | ( | Cairo::LineCap | cap | ) | [protected] |
References m_line, m_marker, and update_line_marker().
Referenced by MarkerWidget().
void Papyrus::Gtk::MarkerWidget::on_line_join_changed | ( | Cairo::LineJoin | join | ) | [protected] |
References m_line, m_marker, and update_line_marker().
Referenced by MarkerWidget().
void Papyrus::Gtk::MarkerWidget::on_line_width_changed | ( | ) | [protected] |
References m_line, m_line_width_entry, m_marker, and update_line_marker().
Referenced by MarkerWidget().
void Papyrus::Gtk::MarkerWidget::on_marker_height_changed | ( | ) | [protected] |
References m_marker, m_marker_height_entry, and update_line_marker().
Referenced by MarkerWidget().
void Papyrus::Gtk::MarkerWidget::on_marker_style_changed | ( | ) | [protected] |
References Papyrus::Gtk::MarkerComboBox::facing(), m_marker, m_marker_combobox, Papyrus::Gtk::MarkerComboBox::style(), and update_line_marker().
Referenced by MarkerWidget().
void Papyrus::Gtk::MarkerWidget::on_marker_width_changed | ( | ) | [protected] |
References m_marker, m_marker_width_entry, and update_line_marker().
Referenced by MarkerWidget().
void Papyrus::Gtk::MarkerWidget::on_stroke_color_changed | ( | ) | [protected] |
References m_line, m_marker, m_stroke_color_button, and update_line_marker().
Referenced by MarkerWidget().
void Papyrus::Gtk::MarkerWidget::set_use_preview | ( | bool | use = true |
) |
References Papyrus::Gtk::Viewport::canvas(), Papyrus::Stroke::create(), Papyrus::Polyline::create(), m_expander, m_line, m_viewport, and update_line_marker().
Referenced by MarkerWidget().
void Papyrus::Gtk::MarkerWidget::update_line_marker | ( | ) | [protected] |
References Papyrus::END_MARKER, m_line, m_marker, Papyrus::Marker::RIGHT, and Papyrus::START_MARKER.
Referenced by on_fill_color_changed(), on_line_cap_changed(), on_line_join_changed(), on_line_width_changed(), on_marker_height_changed(), on_marker_style_changed(), on_marker_width_changed(), on_stroke_color_changed(), and set_use_preview().
bool Papyrus::Gtk::MarkerWidget::use_preview | ( | ) |
References m_expander.
::Gtk::Expander* Papyrus::Gtk::MarkerWidget::m_expander [protected] |
Referenced by set_use_preview(), and use_preview().
::Gtk::ColorButton Papyrus::Gtk::MarkerWidget::m_fill_color_button [protected] |
Referenced by MarkerWidget(), and on_fill_color_changed().
Referenced by MarkerWidget().
Referenced by MarkerWidget().
::Gtk::Adjustment Papyrus::Gtk::MarkerWidget::m_line_width_adjustment [protected] |
::Gtk::SpinButton Papyrus::Gtk::MarkerWidget::m_line_width_entry [protected] |
Referenced by MarkerWidget(), and on_line_width_changed().
Referenced by MarkerWidget(), and on_marker_style_changed().
::Gtk::Adjustment Papyrus::Gtk::MarkerWidget::m_marker_height_adjustment [protected] |
::Gtk::SpinButton Papyrus::Gtk::MarkerWidget::m_marker_height_entry [protected] |
Referenced by MarkerWidget(), and on_marker_height_changed().
::Gtk::Adjustment Papyrus::Gtk::MarkerWidget::m_marker_width_adjustment [protected] |
::Gtk::SpinButton Papyrus::Gtk::MarkerWidget::m_marker_width_entry [protected] |
Referenced by MarkerWidget(), and on_marker_width_changed().
::Gtk::ColorButton Papyrus::Gtk::MarkerWidget::m_stroke_color_button [protected] |
Referenced by MarkerWidget(), and on_stroke_color_changed().
Referenced by set_use_preview().