GClasses

GClasses::GWidgetWave Class Reference

#include <GWidgets.h>

Inheritance diagram for GClasses::GWidgetWave:
GClasses::GWidgetAtomic GClasses::GWidget

List of all members.

Public Member Functions

 GWidgetWave (GWidgetGroup *pParent, int x, int y, int w, int h)
virtual ~GWidgetWave ()
virtual WidgetType type ()
virtual void draw (GImage *pCanvas, int x, int y)
 Draws this widget on pCanvas at (x,y)
void setDirty ()
void setWave (GWave *pWave)
int pos ()
int width ()
void setRange (int pos, int width)

Protected Member Functions

virtual void onMouseMove (int dx, int dy)
virtual void grab (int button, int x, int y)
virtual void release (int button)

Protected Attributes

GWavem_pWave
int m_pos
int m_width
int m_selectionPos
int m_selectionWidth

Constructor & Destructor Documentation

GClasses::GWidgetWave::GWidgetWave ( GWidgetGroup pParent,
int  x,
int  y,
int  w,
int  h 
)
virtual GClasses::GWidgetWave::~GWidgetWave ( ) [virtual]

Member Function Documentation

virtual void GClasses::GWidgetWave::draw ( GImage pCanvas,
int  x,
int  y 
) [virtual]

Draws this widget on pCanvas at (x,y)

Implements GClasses::GWidget.

virtual void GClasses::GWidgetWave::grab ( int  button,
int  x,
int  y 
) [protected, virtual]

Reimplemented from GClasses::GWidgetAtomic.

virtual void GClasses::GWidgetWave::onMouseMove ( int  dx,
int  dy 
) [protected, virtual]

Reimplemented from GClasses::GWidgetAtomic.

int GClasses::GWidgetWave::pos ( ) [inline]
virtual void GClasses::GWidgetWave::release ( int  button) [protected, virtual]

Reimplemented from GClasses::GWidgetAtomic.

void GClasses::GWidgetWave::setDirty ( )
void GClasses::GWidgetWave::setRange ( int  pos,
int  width 
)
void GClasses::GWidgetWave::setWave ( GWave pWave)
virtual WidgetType GClasses::GWidgetWave::type ( ) [inline, virtual]

Implements GClasses::GWidget.

int GClasses::GWidgetWave::width ( ) [inline]

Member Data Documentation