![]() |
Clapkit
|
Defines a checkbox control. More...
#include <ckCheckbox.h>
Public Member Functions | |
CKCheckbox (const CKControlInitParams ¶ms) | |
virtual | ~CKCheckbox () |
virtual bool | HandleEvent (const CKEvent &evt) |
virtual void | __ReflectToOS () |
virtual void | SetValue (const char *value) |
virtual void | SetValue (bool value) |
virtual void | SetValue (void *value) |
![]() | |
CKControlToolbox (const CKControlInitParams ¶ms, CKControlType type=CKControlType::Unknown) | |
virtual | ~CKControlToolbox () |
virtual void | AddedToWindow (CKWindow *window) |
virtual void | Redraw () |
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 () |
![]() | |
void | SetValue (bool value) |
void | SetValue (void *value) |
bool | GetBoolean () const |
void * | GetMisc () const |
Protected Member Functions | |
CKCheckbox (const CKControlInitParams ¶ms, CKControlType forcedType) | |
Additional Inherited Members | ||
![]() | ||
CKProperty< CKWindow * > | owner = nullptr | |
CKProperty< CKRect > | rect | |
CKProperty< bool > | enabled = true | |
CKProperty< bool > | visible | |
![]() | ||
CKControlPtr | __ptr | |
CKControlType | __type | |
![]() | ||
std::map< CKEventType, CKEventHandlerFunc > | __handlers | |
CKPropertyObserverFunc | propertyObserverCB = nullptr | |
![]() | ||
char * | __text | |
![]() | ||
CKValueType | _type = CKValueType::None | |
union { | ||
bool bValue | ||
void * mValue | ||
} | _value | |
Defines a checkbox control.
CKCheckbox::CKCheckbox | ( | const CKControlInitParams & | params | ) |
|
virtual |
|
protected |
|
virtual |
Reimplemented from CKControlToolbox.
|
virtual |
Reimplemented from CKControlToolbox.
Reimplemented in CKRadiobox.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |