papyrus logo

Papyrus::Gtk::StrokeWidget Class Reference

#include <strokewidget.h>

List of all members.

Public Member Functions

 StrokeWidget (bool use_preview=true)
 ~StrokeWidget ()
Papyrus::Stroke::pointer stroke () const
bool use_preview ()
void set_use_preview (bool use=true)

Protected Member Functions

void on_color_changed ()
void on_width_changed ()
void on_line_join_changed (Cairo::LineJoin)
void on_line_cap_changed (Cairo::LineCap)

Protected Attributes

::Gtk::Expander * m_expander
Papyrus::Gtk::Viewportm_viewport
Papyrus::Polyline::pointer m_line
::Gtk::ColorButton m_color_button
::Gtk::Adjustment m_width_adjustment
::Gtk::SpinButton m_width_entry
::Gtk::Adjustment m_miter_limit_adjustment
::Gtk::SpinButton m_miter_limit_entry
Papyrus::Gtk::LineJoinButtonBox m_line_join_buttonbox
Papyrus::Gtk::LineCapButtonBox m_line_cap_buttonbox
Papyrus::Stroke::pointer m_stroke

Detailed Description

Author:
Rick L Vinyard Jr <rvinyard@cs.nmsu.edu>

Constructor & Destructor Documentation

Papyrus::Gtk::StrokeWidget::StrokeWidget ( bool  use_preview = true  ) 
Papyrus::Gtk::StrokeWidget::~StrokeWidget (  ) 

Member Function Documentation

void Papyrus::Gtk::StrokeWidget::on_color_changed (  )  [protected]

References m_color_button, and m_stroke.

Referenced by StrokeWidget().

void Papyrus::Gtk::StrokeWidget::on_line_cap_changed ( Cairo::LineCap  cap  )  [protected]

References m_stroke.

Referenced by StrokeWidget().

void Papyrus::Gtk::StrokeWidget::on_line_join_changed ( Cairo::LineJoin  join  )  [protected]

References m_stroke.

Referenced by StrokeWidget().

void Papyrus::Gtk::StrokeWidget::on_width_changed (  )  [protected]

References m_stroke, and m_width_entry.

Referenced by StrokeWidget().

void Papyrus::Gtk::StrokeWidget::set_use_preview ( bool  use = true  ) 
Stroke::pointer Papyrus::Gtk::StrokeWidget::stroke (  )  const

References m_stroke.

Referenced by Papyrus::Gtk::StrokeDialog::stroke().

bool Papyrus::Gtk::StrokeWidget::use_preview (  ) 

References m_expander.


Member Data Documentation

::Gtk::ColorButton Papyrus::Gtk::StrokeWidget::m_color_button [protected]

Referenced by on_color_changed(), and StrokeWidget().

::Gtk::Expander* Papyrus::Gtk::StrokeWidget::m_expander [protected]

Referenced by set_use_preview(), and use_preview().

Referenced by set_use_preview().

Referenced by StrokeWidget().

Referenced by StrokeWidget().

::Gtk::SpinButton Papyrus::Gtk::StrokeWidget::m_miter_limit_entry [protected]

Referenced by set_use_preview().

::Gtk::Adjustment Papyrus::Gtk::StrokeWidget::m_width_adjustment [protected]
::Gtk::SpinButton Papyrus::Gtk::StrokeWidget::m_width_entry [protected]

Referenced by on_width_changed(), and StrokeWidget().


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

Generated on Fri Apr 16 12:41:11 2010 for papyrus by doxygen 1.6.1