![]() |
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) |
![]() | |
CKControl (const CKControlInitParams ¶ms, CKControlType type=CKControlType::Unknown) | |
virtual | ~CKControl () |
virtual void | RemovedFromWindow () |
virtual void | MarkAsDirty () |
![]() | |
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 () |
![]() | |
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 |
![]() | |
std::map< CKEventType, CKEventHandlerFunc > | __handlers |
CKPropertyObserverFunc | propertyObserverCB = nullptr |
![]() | |
char * | __text |
Additional Inherited Members | |
![]() | |
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 |