papyrus logo

Papyrus::Gtk::LineWidthComboBox Class Reference

A drop-down combobox that can be loaded with a range of line widths that can grow linearly or exponentially. More...

#include <linewidthcombobox.h>

List of all members.

Classes

class  ModelColumns

Public Member Functions

 LineWidthComboBox (int active=0, double start=1.0, double stop=6.0, INCREMENT increment=INCREMENT_LINEAR, double factor=1.0)
 ~LineWidthComboBox ()
double width ()
double start ()
double stop ()
void start_stop (double &start, double &stop)
void set_start (double start)
void set_stop (double stop)
void set_start_stop (double start, double stop)
double factor ()
void set_factor (double factor)
INCREMENT increment_type ()
void set_increment_type (INCREMENT increment)

Protected Member Functions

void load_pixbufs ()

Protected Attributes

Glib::RefPtr< ::Gtk::ListStore > m_store
std::vector< Glib::RefPtr
< Gdk::Pixbuf > > 
m_pixbufs
ModelColumns m_columns
double m_start
double m_stop
double m_factor
INCREMENT m_increment

Detailed Description

A drop-down combobox that can be loaded with a range of line widths that can grow linearly or exponentially.

screenshot_linewidthcombobox_collapsed.png

LineWidthComboBox collapsed

screenshot_linewidthcombobox_expanded.png

LineWidthComboBox expanded

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

Constructor & Destructor Documentation

Papyrus::Gtk::LineWidthComboBox::LineWidthComboBox ( int  active = 0,
double  start = 1.0,
double  stop = 6.0,
INCREMENT  increment = INCREMENT_LINEAR,
double  factor = 1.0 
)
Papyrus::Gtk::LineWidthComboBox::~LineWidthComboBox (  ) 

Member Function Documentation

double Papyrus::Gtk::LineWidthComboBox::factor (  ) 

References m_factor.

INCREMENT Papyrus::Gtk::LineWidthComboBox::increment_type (  ) 

References m_increment.

void Papyrus::Gtk::LineWidthComboBox::load_pixbufs (  )  [protected]
void Papyrus::Gtk::LineWidthComboBox::set_factor ( double  factor  ) 

References load_pixbufs(), and m_factor.

void Papyrus::Gtk::LineWidthComboBox::set_increment_type ( INCREMENT  increment  ) 

References load_pixbufs(), and m_increment.

void Papyrus::Gtk::LineWidthComboBox::set_start ( double  start  ) 

References load_pixbufs(), m_start, and m_stop.

void Papyrus::Gtk::LineWidthComboBox::set_start_stop ( double  start,
double  stop 
)

References load_pixbufs(), m_start, and m_stop.

void Papyrus::Gtk::LineWidthComboBox::set_stop ( double  stop  ) 

References load_pixbufs(), m_start, and m_stop.

double Papyrus::Gtk::LineWidthComboBox::start (  ) 

References m_start.

void Papyrus::Gtk::LineWidthComboBox::start_stop ( double &  start,
double &  stop 
)

References m_start, and m_stop.

double Papyrus::Gtk::LineWidthComboBox::stop (  ) 

References m_stop.

double Papyrus::Gtk::LineWidthComboBox::width (  ) 

Member Data Documentation

Referenced by LineWidthComboBox(), and load_pixbufs().

std::vector<Glib::RefPtr<Gdk::Pixbuf> > Papyrus::Gtk::LineWidthComboBox::m_pixbufs [protected]

Referenced by load_pixbufs().

Glib::RefPtr< ::Gtk::ListStore> Papyrus::Gtk::LineWidthComboBox::m_store [protected]

Referenced by LineWidthComboBox(), and load_pixbufs().


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