mGNCS API Reference  v1.2.0
A new control set and a new framework for MiniGUI apps
Data Structures | Macros | Typedefs | Enumerations | Variables
mComponent

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

Variables

MGNCS_EXPORT mComponentClass g_stmComponentCls
 the singleton of mComponentClass More...
 

Detailed Description

Macro Definition Documentation

#define MAXLEN_CLASSNAME   31

the max length of class name

Note
This value should be same as the MiniGUI's definition.

Definition at line 61 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 67 of file mcomponent.h.

Typedef Documentation

A struct include a event mapping node

Note
only used by mComponent

Enumeration Type Documentation

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 218 of file mcomponent.h.

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 190 of file mcomponent.h.

Variable Documentation

g_stmComponentCls

the singleton of mComponentClass