mGNCS API Reference
v1.5.0
A new control set and a new framework for MiniGUI apps
|
Data Structures | |
struct | _NCS_EVENT_HANDLER_NODE |
struct | mComponentClass |
the basic class of components, windows. Drived by mObjectClass More... | |
struct | mComponent |
the component member define More... | |
Macros | |
#define | MAXLEN_CLASSNAME 31 |
the max length of class name More... | |
#define | NCSCLASSNAME(name) name _MGNCS_CLASS_SUFFIX |
Define a NCS class name with a default suffix, distinguish the class name from old constrol set. More... | |
Typedefs | |
typedef struct _NCS_EVENT_HANDLER_NODE | NCS_EVENT_HANDLER_NODE |
Enumerations | |
enum | ncsComponentReleated { NCS_CMPT_NEXT = 0, NCS_CMPT_PREV, NCS_CMPT_PARENT, NCS_CMPT_CHILDREN } |
The releation between components. More... | |
enum | mComponentQueryCmd { QPC_SET_PROP = 0, QPC_GET_PROP, QPC_ADD_EVENT, QPC_ADD_BIND, QPC_USER } |
queryByPath and vqueryByPath's cmd_id More... | |
Variables | |
MGNCS_EXPORT mComponentClass | g_stmComponentCls |
the singleton of mComponentClass More... | |
#define MAXLEN_CLASSNAME 31 |
the max length of class name
Definition at line 73 of file mcomponent.h.
#define NCSCLASSNAME | ( | name | ) | name _MGNCS_CLASS_SUFFIX |
Define a NCS class name with a default suffix, distinguish the class name from old constrol set.
Definition at line 79 of file mcomponent.h.
typedef struct _NCS_EVENT_HANDLER_NODE NCS_EVENT_HANDLER_NODE |
A struct include a event mapping node
enum mComponentQueryCmd |
queryByPath and vqueryByPath's cmd_id
Enumerator | |
---|---|
QPC_SET_PROP | setPropertyByPath |
QPC_GET_PROP | getPropertyByPath |
QPC_ADD_EVENT | addEventListenerByPath |
QPC_ADD_BIND | addBindPropByPath |
QPC_USER | user |
Definition at line 230 of file mcomponent.h.
enum ncsComponentReleated |
The releation between components.
Enumerator | |
---|---|
NCS_CMPT_NEXT | next sliding component |
NCS_CMPT_PREV | prev sliding component |
NCS_CMPT_PARENT | the parent component |
NCS_CMPT_CHILDREN | the first child component |
Definition at line 202 of file mcomponent.h.
g_stmComponentCls |
the singleton of mComponentClass