ColorSwatch Class Reference

#include <ColorSwatch.h>

Inheritance diagram for ColorSwatch:

Inheritance graph
[legend]
Collaboration diagram for ColorSwatch:

Collaboration graph
[legend]
List of all members.

Protected Member Functions

 ColorSwatch (HIViewRef inControl)
 ~ColorSwatch ()
ControlKind GetKind ()
UInt32 GetBehaviors ()
OSStatus GetData (OSType inTag, ControlPartCode inPart, Size inSize, Size *outSize, void *inPtr)
 Get some data about the view Only 'TVew' is supported.
OSStatus SetData (OSType inTag, ControlPartCode inPart, Size inSize, const void *inPtr)
OSStatus ControlHit (ControlPartCode inPart, UInt32 inModifiers)
OSStatus Track (TCarbonEvent &inEvent, ControlPartCode *outPartHit)
 Will automatically call SetUpTracking() if the result of UseNonblockingTracking() is true.
void CompatibleDraw (RgnHandle inLimitRgn, CGContextRef inContext, bool inCompositing)
ControlPartCode HitTest (const HIPoint &inWhere)
OSStatus GetRegion (ControlPartCode inPart, RgnHandle outRgn)
OSStatus TextInput (TCarbonEvent &inEvent)
OSStatus GetSizeConstraints (HISize *outMin, HISize *outMax)
OSStatus GetOptimalSize (HISize *outSize, float *outBaseLine)
bool DragEnter (DragRef inDrag)
bool DragLeave (DragRef inDrag)
OSStatus DragReceive (DragRef inDrag)

Constructor & Destructor Documentation

ColorSwatch::ColorSwatch HIViewRef  inControl  )  [protected]
 

ColorSwatch::~ColorSwatch  )  [protected]
 


Member Function Documentation

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

Implements TViewNoCompositingCompatible.

OSStatus ColorSwatch::ControlHit ControlPartCode  inPart,
UInt32  inModifiers
[protected, virtual]
 

Reimplemented from TViewNoCompositingCompatible.

bool ColorSwatch::DragEnter DragRef  inDrag  )  [protected]
 

bool ColorSwatch::DragLeave DragRef  inDrag  )  [protected]
 

OSStatus ColorSwatch::DragReceive DragRef  inDrag  )  [protected]
 

UInt32 ColorSwatch::GetBehaviors  )  [protected, virtual]
 

GetBehaviors

Reimplemented from TViewNoCompositingCompatible.

OSStatus ColorSwatch::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 TViewNoCompositingCompatible.

ControlKind ColorSwatch::GetKind  )  [protected]
 

OSStatus ColorSwatch::GetOptimalSize HISize *  outSize,
float *  outBaseLine
[protected]
 

OSStatus ColorSwatch::GetRegion ControlPartCode  inPart,
RgnHandle  outRgn
[protected]
 

OSStatus ColorSwatch::GetSizeConstraints HISize *  outMin,
HISize *  outMax
[protected]
 

ControlPartCode ColorSwatch::HitTest const HIPoint &  inWhere  )  [protected, virtual]
 

Reimplemented from TViewNoCompositingCompatible.

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

OSStatus ColorSwatch::TextInput TCarbonEvent &  inEvent  )  [protected]
 

OSStatus ColorSwatch::Track TCarbonEvent &  inEvent,
ControlPartCode *  outPartHit
[protected, virtual]
 

Will automatically call SetUpTracking() if the result of UseNonblockingTracking() is true.

If false, this method will return the eventNotHandledErr error code to invoke default mouse tracking.

Reimplemented from TViewNoCompositingCompatible.


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




Generated on Sat Jul 8 13:08:03 2006 for AUGUI Framework by doxygen1.4.6

hosted on SourceForge.net Logo