#include <TPushButton.h>
Inheritance diagram for TPushButton:
Protected Member Functions | |
TPushButton (HIViewRef inControl) | |
virtual | ~TPushButton () |
virtual bool | UseNonblockingTracking () |
To enable the non-blocking tracking a subclass must override this method to return true. | |
virtual OSStatus | ControlHit (ControlPartCode inPart, UInt32 inModifiers) |
virtual OSStatus | StartTracking (TCarbonEvent &inEvent, HIPoint &from) |
Called at the beginning of tracking. | |
virtual OSStatus | StopTracking (TCarbonEvent &inEvent, HIPoint &from) |
Called at the end of tracking. | |
Protected Attributes | |
int | mValue |
This control is similar to the TValuePictButtonControl, except that it does change its value to its max while it's being pushed.
|
|
|
|
|
Reimplemented from TViewNoCompositingCompatible. |
|
Called at the beginning of tracking.
Reimplemented from TValuePictButtonControl. |
|
Called at the end of tracking. Our default implementation calls the HitTest() method to determine which part of the control the mouse was over when the button was released. This part code is set in inEvent. Reimplemented from TValuePictButtonControl. |
|
To enable the non-blocking tracking a subclass must override this method to return true.
Reimplemented from TValuePictControl. |
|
|