TMinMaxSlider Class Reference

A slider control with configurable background and thumb images, to define a min and a max value. More...

#include <TMinMaxSlider.h>

Inheritance diagram for TMinMaxSlider:

Inheritance graph
[legend]
Collaboration diagram for TMinMaxSlider:

Collaboration graph
[legend]
List of all members.

Static Public Attributes

static const OSType maxTag = 'max '
static const OSType minTag = 'min '
static const OSType lenTag = 'len '

Protected Types

enum  { kStart, kMove, kEnd }

Protected Member Functions

 TMinMaxSlider (HIViewRef inControl)
virtual ~TMinMaxSlider ()
virtual ControlKind GetKind ()
virtual OSStatus StillTracking (TCarbonEvent &inEvent, HIPoint &from)
 Called during tracking.
virtual OSStatus StartTracking (TCarbonEvent &inEvent, HIPoint &from)
 Called before tracking.
virtual void CompatibleDraw (RgnHandle inLimitRgn, CGContextRef inContext, bool inCompositing)
 The fun part of the control.
virtual OSStatus SetData (OSType inTag, ControlPartCode inPart, Size inSize, const void *inPtr)
virtual OSStatus GetData (OSType inTag, ControlPartCode inPart, Size inSize, Size *outSize, void *inPtr)
 Get some data about the view Only 'TVew' is supported.

Protected Attributes

double mMin
double mMax
float mStartTracking
int mMoveType

Detailed Description

A slider control with configurable background and thumb images, to define a min and a max value.


Member Enumeration Documentation

anonymous enum [protected]
 

Enumerator:
kStart 
kMove 
kEnd 


Constructor & Destructor Documentation

TMinMaxSlider::TMinMaxSlider HIViewRef  inControl  )  [protected]
 

TMinMaxSlider::~TMinMaxSlider  )  [protected, virtual]
 


Member Function Documentation

void TMinMaxSlider::CompatibleDraw RgnHandle  inLimitRgn,
CGContextRef  inContext,
bool  inCompositing
[protected, virtual]
 

The fun part of the control.

Reimplemented from TSliderControl.

OSStatus TMinMaxSlider::GetData OSType  inTag,
ControlPartCode  inPart,
Size  inSize,
Size *  outSize,
void *  inPtr
[protected, virtual]
 

Get some data about the view Only 'TVew' is supported.

It is returning the C++ object.

Reimplemented from TSliderControl.

ControlKind TMinMaxSlider::GetKind  )  [protected, virtual]
 

Reimplemented from TSliderControl.

OSStatus TMinMaxSlider::SetData OSType  inTag,
ControlPartCode  inPart,
Size  inSize,
const void *  inPtr
[protected, virtual]
 

Reimplemented from TSliderControl.

OSStatus TMinMaxSlider::StartTracking TCarbonEvent &  inEvent,
HIPoint &  from
[protected, virtual]
 

Called before tracking.

Reimplemented from TSliderControl.

OSStatus TMinMaxSlider::StillTracking TCarbonEvent &  inEvent,
HIPoint &  from
[protected, virtual]
 

Called during tracking.

Reimplemented from TSliderControl.


Member Data Documentation

const OSType TMinMaxSlider::lenTag = 'len ' [static]
 

const OSType TMinMaxSlider::maxTag = 'max ' [static]
 

const OSType TMinMaxSlider::minTag = 'min ' [static]
 

double TMinMaxSlider::mMax [protected]
 

double TMinMaxSlider::mMin [protected]
 

int TMinMaxSlider::mMoveType [protected]
 

float TMinMaxSlider::mStartTracking [protected]
 


The documentation for this class was generated from the following files:




Generated on Sat Jul 8 13:10:14 2006 for AUGUI Framework by doxygen1.4.6

hosted on SourceForge.net Logo