|
Public Member Functions |
void | SetFrame (const HIRect &inBounds) |
HIRect | Frame () |
HIRect | Bounds () |
void | GetOptimalSize (HISize *outSize, float *outBaseLine) |
void | Show () |
void | Hide () |
OSStatus | AddSubView (TView *inSubView) |
OSStatus | RemoveFromSuperView () |
HIViewRef | GetViewRef () |
void | Hilite (ControlPartCode inPart) |
ControlPartCode | GetHilite () |
WindowRef | GetOwner () |
SInt32 | GetValue () |
void | SetValue (SInt32 inValue) |
SInt32 | GetMinimum () |
void | SetMinimum (SInt32 inMinimum) |
SInt32 | GetMaximum () |
void | SetMaximum (SInt32 inMaximum) |
Boolean | IsVisible () |
Boolean | IsEnabled () |
Boolean | IsActive () |
OSStatus | Invalidate () |
Protected Types |
enum | {
kAutoInvalidateOnActivate = (1 << 0),
kAutoInvalidateOnHilite = (1 << 1),
kAutoInvalidateOnEnable = (1 << 2),
kAutoInvalidateOnValueChange = (1 << 3),
kAutoInvalidateOnTitleChange = (1 << 4)
} |
enum | Interface { kDragAndDrop = 1,
kKeyboardFocus
} |
Protected Member Functions |
void | ChangeAutoInvalidateFlags (OptionBits inSetFlags, OptionBits inClearFlags) |
OptionBits | GetAutoInvalidateFlags () |
| TView (HIViewRef inView) |
virtual | ~TView () |
virtual ControlKind | GetKind ()=PURE_VIRTUAL |
virtual UInt32 | GetBehaviors () |
virtual void | ActiveStateChanged () |
virtual void | BoundsChanged (UInt32 inOptions, const HIRect &inOriginalBounds, const HIRect &inCurrentBounds) |
virtual void | EnabledStateChanged () |
virtual void | HiliteChanged (ControlPartCode inOriginalPart, ControlPartCode inCurrentPart) |
virtual void | OwningWindowChanged (WindowRef oldWindow, WindowRef newWindow) |
virtual void | VisibilityChanged () |
virtual void | TitleChanged () |
virtual void | ValueChanged () |
virtual OSStatus | ControlHit (ControlPartCode inPart, UInt32 inModifiers) |
virtual void | Draw (RgnHandle inLimitRgn, CGContextRef inContext) |
virtual OSStatus | GetData (OSType inTag, ControlPartCode inPart, Size inSize, Size *outSize, void *inPtr) |
virtual OSStatus | GetRegion (ControlPartCode inPart, RgnHandle outRgn) |
virtual ControlPartCode | HitTest (const HIPoint &inWhere) |
virtual OSStatus | SetData (OSType inTag, ControlPartCode inPart, Size inSize, const void *inPtr) |
virtual OSStatus | SetFocusPart (ControlPartCode inDesiredFocus, Boolean inFocusEverything, ControlPartCode *outActualFocus) |
virtual OSStatus | TextInput (TCarbonEvent &inEvent) |
virtual OSStatus | Track (TCarbonEvent &inEvent, ControlPartCode *outPartHit) |
virtual OSStatus | GetSizeConstraints (HISize *outMin, HISize *outMax) |
virtual OSStatus | GetOptimalSizeSelf (HISize *outSize, float *outBaseLine) |
WindowRef | GetWindowRef () |
virtual bool | DragEnter (DragRef inDrag) |
virtual bool | DragWithin (DragRef inDrag) |
virtual bool | DragLeave (DragRef inDrag) |
virtual OSStatus | DragReceive (DragRef inDrag) |
virtual OSStatus | ProcessCommand (const HICommand &inCommand) |
virtual OSStatus | UpdateCommandStatus (const HICommand &inCommand) |
virtual OSStatus | ActivateInterface (Interface inInterface) |
virtual void | PrintDebugInfoSelf () |
Static Protected Member Functions |
OSStatus | RegisterSubclass (CFStringRef inID, ConstructProc inProc) |