![]() |
Clapkit
|
Defines the base of all UIControls that are managed by Macintosh Toolbox. More...
#include <ckControlToolbox.h>
Public Member Functions | |
| CKControlToolbox (const CKControlInitParams ¶ms, CKControlType type=CKControlType::Unknown) | |
| virtual | ~CKControlToolbox () |
| virtual void | AddedToWindow (CKWindow *window) |
| virtual void | Redraw () |
| virtual bool | HandleEvent (const CKEvent &evt) |
| virtual void | RaisePropertyChange (const char *propertyName) |
Public Member Functions inherited from CKControl | |
| CKControl (const CKControlInitParams ¶ms, CKControlType type=CKControlType::Unknown) | |
| virtual | ~CKControl () |
| virtual void | RemovedFromWindow () |
| virtual void | MarkAsDirty () |
Public Member Functions inherited from CKObject | |
| CKObject () | |
| virtual | ~CKObject () |
| virtual void | AddHandler (CKEventType type, CKEventHandlerFunc cb) |
| virtual void | RemoveHandler (CKEventType type) |
| virtual bool | HasHandler (CKEventType type) const |
| virtual void | SetPropertyObserver (CKPropertyObserverFunc cb) |
| virtual void | UnsetPropertyObserver () |
Public Member Functions inherited from CKTextableControl | |
| CKTextableControl () | |
| virtual | ~CKTextableControl () |
| virtual void | SetText (const char *text) |
| virtual const char * | GetText () |
Protected Member Functions | |
| virtual void | __ReflectToOS () |
Protected Attributes | |
| CKControlPtr | __ptr |
| CKControlType | __type |
Protected Attributes inherited from CKObject | |
| std::map< CKEventType, CKEventHandlerFunc > | __handlers |
| CKPropertyObserverFunc | propertyObserverCB = nullptr |
Protected Attributes inherited from CKTextableControl | |
| char * | __text |
Additional Inherited Members | |
Public Attributes inherited from CKControl | |
| CKProperty< CKWindow * > | owner = nullptr |
| CKProperty< CKRect > | rect |
| CKProperty< bool > | enabled = true |
| CKProperty< bool > | visible |
Defines the base of all UIControls that are managed by Macintosh Toolbox.
| CKControlToolbox::CKControlToolbox | ( | const CKControlInitParams & | params, |
| CKControlType | type = CKControlType::Unknown |
||
| ) |
|
virtual |
|
protectedvirtual |
Reimplemented in CKCheckbox.
|
virtual |
Called by CKApp when the control has been added to a window.
Reimplemented from CKControl.
Reimplemented in CKDropdown.
|
virtual |
Reimplemented from CKObject.
Reimplemented in CKCheckbox, CKDropdown, and CKRadiobox.
|
virtual |
Reimplemented from CKControl.
Reimplemented in CKDropdown.
|
virtual |
|
protected |
|
protected |