GClasses
|
#include <GWidgets.h>
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 | |
GWave * | m_pWave |
int | m_pos |
int | m_width |
int | m_selectionPos |
int | m_selectionWidth |
GClasses::GWidgetWave::GWidgetWave | ( | GWidgetGroup * | pParent, |
int | x, | ||
int | y, | ||
int | w, | ||
int | h | ||
) |
virtual GClasses::GWidgetWave::~GWidgetWave | ( | ) | [virtual] |
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] |
int GClasses::GWidgetWave::m_pos [protected] |
GWave* GClasses::GWidgetWave::m_pWave [protected] |
int GClasses::GWidgetWave::m_selectionPos [protected] |
int GClasses::GWidgetWave::m_selectionWidth [protected] |
int GClasses::GWidgetWave::m_width [protected] |