mGNCS API Reference
v1.2.0
A new control set and a new framework for MiniGUI apps
|
Data Structures | |
struct | mButton |
Button class, derived from mWidget. More... | |
struct | mButtonClass |
button struct of button control, derived from mWidgetClass More... | |
struct | mButtonRenderer |
Button class renderer interface, derived from mWidgetRenderer. More... | |
Macros | |
#define | NCSCTRL_BUTTON NCSCLASSNAME("button") |
the name of button control More... | |
#define | NCSS_BUTTON_IMAGE (1<<NCSS_WIDGET_SHIFT) |
indicate a image button More... | |
#define | NCSS_BUTTON_CHECKABLE (2<<NCSS_WIDGET_SHIFT) |
indicate a chackable button More... | |
#define | NCSS_BUTTON_AUTOCHECK (4<<NCSS_WIDGET_SHIFT) |
indicate a auto check button More... | |
#define | NCSS_BUTTON_3DCHECK (8<<NCSS_WIDGET_SHIFT) |
indicate a three type (unchecked-halfchekced-checked) check button More... | |
#define | NCSS_BUTTON_IMAGELABEL (0x10<<NCSS_WIDGET_SHIFT) |
indicate a button with image and label More... | |
#define | NCSS_BUTTON_VERTIMAGELABEL (0x20<<NCSS_WIDGET_SHIFT) |
indicate a button with vertical image and label More... | |
Enumerations |
Variables | |
MGNCS_EXPORT mButtonClass | g_stmButtonCls |
global mButtonClass More... | |
#define NCSCTRL_BUTTON NCSCLASSNAME("button") |
#define NCSS_BUTTON_3DCHECK (8<<NCSS_WIDGET_SHIFT) |
#define NCSS_BUTTON_AUTOCHECK (4<<NCSS_WIDGET_SHIFT) |
#define NCSS_BUTTON_CHECKABLE (2<<NCSS_WIDGET_SHIFT) |
#define NCSS_BUTTON_IMAGE (1<<NCSS_WIDGET_SHIFT) |
#define NCSS_BUTTON_IMAGELABEL (0x10<<NCSS_WIDGET_SHIFT) |
#define NCSS_BUTTON_VERTIMAGELABEL (0x20<<NCSS_WIDGET_SHIFT) |
enum eButtonNotify |
the notification code of mButton
Enumerator | |||
---|---|---|---|
NCSN_BUTTON_PUSHED |
button pushed | ||
NCSN_BUTTON_STATE_CHANGED |
button check state changed
|
enum mButtonCheckState |
define the check state of button
enum mButtonProp |
the properties id of mButton
Enumerator | |
---|---|
NCSP_BUTTON_ALIGN |
Set the button text horizontal align.
|
NCSP_BUTTON_VALIGN |
Set the button text vertical align.
|
NCSP_BUTTON_WORDWRAP |
Set the button text to autowrap mode.
|
NCSP_BUTTON_IMAGE |
Set the button image pointer.
|
NCSP_BUTTON_CHECKSTATE |
Set the check state of button.
|
NCSP_BUTTON_IMAGE_SIZE_PERCENT |
Set the image size.
|
NCSP_BUTTON_GROUPID |
Set the button group id.
|
NCSP_BUTTON_GROUP |
Set the button group.
|
g_stmButtonCls |
global mButtonClass
global mStaticClass