#include <SkWidget.h>
Inherits SkHasLabelView.
Public Types | |
enum | State { kOff_State, kOn_State, kMaybe_State } |
Public Member Functions | |
SkCheckBoxView (uint32_t flags=0) | |
State | getState () const |
void | setState (State) |
Protected Member Functions | |
virtual void | onDraw (SkCanvas *) |
virtual void | onInflate (const SkDOM &dom, const SkDOM::Node *) |
Definition at line 252 of file SkWidget.h.
Definition at line 256 of file SkWidget.h.
SkCheckBoxView::SkCheckBoxView | ( | uint32_t | flags = 0 |
) |
State SkCheckBoxView::getState | ( | ) | const [inline] |
Definition at line 261 of file SkWidget.h.
virtual void SkCheckBoxView::onDraw | ( | SkCanvas * | ) | [protected, virtual] |
virtual void SkCheckBoxView::onInflate | ( | const SkDOM & | dom, | |
const SkDOM::Node * | node | |||
) | [protected, virtual] |
Override this to initialize your subclass from the XML node. Be sure to call the inherited version too
Reimplemented from SkHasLabelView.
void SkCheckBoxView::setState | ( | State | ) |