papyrus logo

Papyrus::Gtk::GradientStopWidget Class Reference

#include <gradientstopwidget.h>

List of all members.

Public Member Functions

 GradientStopWidget (unsigned num_stops=1, bool show_header=false, bool show_stop_num=false)
 ~GradientStopWidget ()
unsigned num_stops ()
void set_num_stops (unsigned num_stops)
void show_header (bool show=false)
void show_stop_num (bool show=false)
sigc::signal< void > signal_stops_changed ()
Gradient::Stops stops ()

Protected Member Functions

void on_color_changed (int which)
void on_offset_changed (int which)
void on_alpha_changed (int which)

Protected Attributes

unsigned m_num_stops
bool m_show_header
bool m_show_stop_num
sigc::signal< void > m_signal_stops_changed
std::vector< ::Gtk::Label * > m_headers
std::vector< ::Gtk::Label * > m_stop_nums
std::vector< ::Gtk::ColorButton * > m_colorbuttons
std::vector< ::Gtk::SpinButton * > m_offsets
std::vector< ::Gtk::SpinButton * > m_alphas
Gradient::Stops m_stops

Detailed Description

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

Constructor & Destructor Documentation

Papyrus::Gtk::GradientStopWidget::GradientStopWidget ( unsigned  num_stops = 1,
bool  show_header = false,
bool  show_stop_num = false 
)
Papyrus::Gtk::GradientStopWidget::~GradientStopWidget (  ) 

Member Function Documentation

unsigned Papyrus::Gtk::GradientStopWidget::num_stops (  ) 

References m_num_stops.

void Papyrus::Gtk::GradientStopWidget::on_alpha_changed ( int  which  )  [protected]
void Papyrus::Gtk::GradientStopWidget::on_color_changed ( int  which  )  [protected]
void Papyrus::Gtk::GradientStopWidget::on_offset_changed ( int  which  )  [protected]
void Papyrus::Gtk::GradientStopWidget::set_num_stops ( unsigned  num_stops  ) 
void Papyrus::Gtk::GradientStopWidget::show_header ( bool  show = false  ) 

References m_headers, and m_show_header.

Referenced by GradientStopWidget().

void Papyrus::Gtk::GradientStopWidget::show_stop_num ( bool  show = false  ) 

References m_show_stop_num, and m_stop_nums.

sigc::signal< void > Papyrus::Gtk::GradientStopWidget::signal_stops_changed (  ) 
Gradient::Stops Papyrus::Gtk::GradientStopWidget::stops (  ) 

Member Data Documentation

std::vector< ::Gtk::SpinButton* > Papyrus::Gtk::GradientStopWidget::m_alphas [protected]
std::vector< ::Gtk::ColorButton* > Papyrus::Gtk::GradientStopWidget::m_colorbuttons [protected]

Referenced by set_num_stops().

std::vector< ::Gtk::Label* > Papyrus::Gtk::GradientStopWidget::m_headers [protected]

Referenced by GradientStopWidget(), and show_header().

Referenced by num_stops(), and set_num_stops().

std::vector< ::Gtk::SpinButton* > Papyrus::Gtk::GradientStopWidget::m_offsets [protected]

Referenced by set_num_stops().

Referenced by show_header().

Referenced by set_num_stops(), and show_stop_num().

std::vector< ::Gtk::Label* > Papyrus::Gtk::GradientStopWidget::m_stop_nums [protected]

Referenced by set_num_stops(), and show_stop_num().

Referenced by set_num_stops().


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