Papyrus::Scaler Class Reference

#include <papyrus/scaler.h>

Inheritance diagram for Papyrus::Scaler:

Inheritance graph
[legend]
List of all members.

Detailed Description

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


Public Types

typedef PapyrusSmartPointer<
Scaler
pointer

Public Member Functions

 Scaler (Group::pointer selection_group=Group::pointer(), SelectionMode mode=SELECT_PRESS, int selection_depth=1, unsigned side=0)
 Scaler (Group::pointer select_from_group, Group::pointer selection_group, SelectionMode mode=SELECT_PRESS, int selection_depth=1, unsigned side=0)
virtual void set_selection_group (Group::pointer selection_group, bool add_drawable_only=true)
unsigned sides ()
void set_sides (unsigned sides)
void enable_sides (unsigned sides)
void disable_sides (unsigned sides)

Static Public Member Functions

static Scaler::pointer create (Group::pointer selection_group=Group::pointer(), SelectionMode mode=SELECT_PRESS, int selection_depth=1, unsigned side=0)
static Scaler::pointer create (Group::pointer select_from_group, Group::pointer selection_group, SelectionMode mode=SELECT_PRESS, int selection_depth=1, unsigned side=0)

Protected Member Functions

virtual bool on_motion (const Event::Motion &event)
virtual bool on_button_press (const Event::ButtonPress &event)

Protected Attributes

double m_original_position [2]
 Sets the grid x and y sizes.
unsigned m_sides
double m_grid [2]
Handlebox::pointer m_handlebox


Member Data Documentation

double Papyrus::Scaler::m_original_position[2] [protected]

Sets the grid x and y sizes.

If either is <= 0.0 then the grid will be turned off for that dimension.


The documentation for this class was generated from the following files:
Generated on Sun Mar 11 10:01:49 2007 by  doxygen 1.5.1