#include <TValueTextControl.h>
Inheritance diagram for TValueTextControl:
Protected Member Functions | |
TValueTextControl (HIViewRef inControl) | |
virtual | ~TValueTextControl () |
virtual ControlKind | GetKind () |
virtual bool | UseNonblockingTracking () |
To enable the non-blocking tracking a subclass must override this method to return true. | |
virtual OSStatus | Initialize (TCarbonEvent &inEvent) |
virtual OSStatus | StillTracking (TCarbonEvent &inEvent, HIPoint &from) |
Called whenever the mouse is moving during tracking. | |
virtual void | CompatibleDraw (RgnHandle inLimitRgn, CGContextRef inContext, bool inCompositing) |
virtual void | TitleChanged () |
virtual void | ValueChanged () |
virtual UInt32 | GetBehaviors () |
The text strings come from a CFArray of CFStrings set through the SetData method.
The title contains the name of the background image, without the file type extension of .png. It can also have optional configuration values such as the offset for the baseline of the text. Its format is as follows:
filename [leftInset] [bottomInset]
Where leftInset is the inset in pixels from the left side of the image that the text should be drawn and bottomInset in the inset from the bottom edge for the baseline of the text. Values are separated by a single space character.
|
|
|
|
|
Implements TViewNoCompositingCompatible. |
|
GetBehaviors Reimplemented from TViewNoCompositingCompatible. |
|
|
|
|
|
Called whenever the mouse is moving during tracking.
Reimplemented from TViewNoCompositingCompatible. |
|
|
|
To enable the non-blocking tracking a subclass must override this method to return true.
Reimplemented from TViewNoCompositingCompatible. |
|
|