◆ getBackgroundDrawPos()
Point Titanic::CPetSlider::getBackgroundDrawPos |
( |
| ) |
|
|
protected |
Get the position to draw the background at
◆ getThumbDrawPos()
Point Titanic::CPetSlider::getThumbDrawPos |
( |
| ) |
|
|
protected |
Get the position to draw the slider thumbnail at
◆ containsPt()
bool Titanic::CPetSlider::containsPt |
( |
const Point & |
pt | ) |
const |
|
inlineprotected |
Returns true if the passed point falls within the slider's bounds
◆ setupBackground()
virtual void Titanic::CPetSlider::setupBackground |
( |
const CString & |
name, |
|
|
CPetControl * |
petControl |
|
) |
| |
|
inlinevirtual |
◆ setupThumb()
virtual void Titanic::CPetSlider::setupThumb |
( |
const CString & |
name, |
|
|
CPetControl * |
petControl |
|
) |
| |
|
inlinevirtual |
◆ setupBackground2()
virtual void Titanic::CPetSlider::setupBackground2 |
( |
const CString & |
name, |
|
|
CPetControl * |
petControl |
|
) |
| |
|
inlinevirtual |
◆ setupThumb2()
virtual void Titanic::CPetSlider::setupThumb2 |
( |
const CString & |
name, |
|
|
CPetControl * |
petControl |
|
) |
| |
|
inlinevirtual |
◆ reset()
virtual void Titanic::CPetSlider::reset |
( |
const CString & |
name | ) |
|
|
inlinevirtual |
◆ draw()
virtual void Titanic::CPetSlider::draw |
( |
CScreenManager * |
screenManager | ) |
|
|
inlinevirtual |
◆ clearDirtyArea()
virtual Rect Titanic::CPetSlider::clearDirtyArea |
( |
| ) |
|
|
virtual |
◆ checkThumb()
virtual bool Titanic::CPetSlider::checkThumb |
( |
const Point & |
pt | ) |
|
|
virtual |
Checks whether the slider is highlighted
◆ resetThumbFocus()
virtual bool Titanic::CPetSlider::resetThumbFocus |
( |
| ) |
|
|
virtual |
Resets the thumb focused flag
◆ MouseDragMoveMsg()
virtual bool Titanic::CPetSlider::MouseDragMoveMsg |
( |
const Point & |
pt | ) |
|
|
virtual |
Handles dragging the slider
◆ MouseDragEndMsg()
virtual bool Titanic::CPetSlider::MouseDragEndMsg |
( |
const Point & |
pt | ) |
|
|
inlinevirtual |
Called when a slider drag ends
◆ MouseButtonUpMsg()
virtual bool Titanic::CPetSlider::MouseButtonUpMsg |
( |
const Point & |
pt | ) |
|
|
virtual |
Handles mouse button up messaes
◆ getOffsetPixels()
virtual double Titanic::CPetSlider::getOffsetPixels |
( |
| ) |
const |
|
virtual |
Returns the slider offset in pixels
◆ setSliderOffset()
virtual void Titanic::CPetSlider::setSliderOffset |
( |
double |
offset | ) |
|
|
virtual |
◆ setOffsetPixels()
virtual void Titanic::CPetSlider::setOffsetPixels |
( |
int |
offset | ) |
|
|
virtual |
Set a new slider offset in pixels
◆ setOrientation()
void Titanic::CPetSlider::setOrientation |
( |
SliderOrientation |
orientation | ) |
|
Enables a given orientation
◆ setBounds()
void Titanic::CPetSlider::setBounds |
( |
const Rect & |
r | ) |
|
|
inline |
Set the bounds for the slider
◆ setSlidingBounds()
void Titanic::CPetSlider::setSlidingBounds |
( |
const Rect & |
r | ) |
|
|
inline |
Set the sliding bounds for the slider
◆ setThumbSize()
void Titanic::CPetSlider::setThumbSize |
( |
const Point & |
pt | ) |
|
|
inline |
Set the size of the slider thumb
◆ translate()
void Titanic::CPetSlider::translate |
( |
const Point & |
pt | ) |
|
|
inline |
◆ stepPosition()
void Titanic::CPetSlider::stepPosition |
( |
int |
direction | ) |
|
Change the current position of a slider by a step amount
The documentation for this class was generated from the following file: