mGNCS API Reference  v1.2.0
A new control set and a new framework for MiniGUI apps
mchecknode.h
Go to the documentation of this file.
1 
42 #ifndef _MGUI_WIDGET_CHECKNODE_H
43 #define _MGUI_WIDGET_CHECKNODE_H
44 
45 typedef struct _mCheckNode mCheckNode;
46 typedef struct _mCheckNodeClass mCheckNodeClass;
47 
48 #define mCheckNodeHeader(className) \
49  mNodeHeader(className) \
50  BOOL isChecked;
51 
52 struct _mCheckNode
53 {
54  mCheckNodeHeader(mCheckNode)
55 };
56 
57 #define mCheckNodeClassHeader(clsName, superCls) \
58  mNodeClassHeader(clsName, superCls) \
59  BOOL (*setCheck)(clsName* , BOOL isCheck);
60 
61 struct _mCheckNodeClass
62 {
63  mCheckNodeClassHeader(mCheckNode, mNode)
64 };
65 
66 MGNCS_EXPORT extern mCheckNodeClass g_stmCheckNodeCls;
67 
68 #ifdef __cplusplus
69 extern "C" {
70 #endif /* __cplusplus */
71 
72 #ifdef __cplusplus
73 }
74 #endif /* __cplusplus */
75 
76 #endif /* _MGUI_WIDGET_CHECKNODE_H */
77 
The structure of mNode. It is the basic class of all nodes occur within specific controls. For example, a list can contain it.