mGNCS API Reference
v1.2.0
A new control set and a new framework for MiniGUI apps
Main Page
Modules
Data Structures
Files
File List
Globals
include
mgncs.h
Go to the documentation of this file.
1
42
#ifndef _MGNCS_H
43
#define _MGNCS_H
44
45
#ifdef __cplusplus
46
extern
"C"
{
47
#endif
48
49
#include <stdarg.h>
50
51
#ifndef MGNCS_MAJOR_VERSION
52
# undef PACKAGE
53
# undef VERSION
54
# undef PACKAGE_BUGREPORT
55
# undef PACKAGE_NAME
56
# undef PACKAGE_STRING
57
# undef PACKAGE_TARNAME
58
# undef PACKAGE_VERSION
59
# ifdef __MGNCS_LIB__
60
# if defined(__CMAKE_PROJECT__) || defined(WIN32)
61
# include "mgncsconfig.h"
62
# else
63
# include "../mgncsconfig.h"
64
# endif
65
# else
66
# include "mgncsconfig.h"
67
# endif
68
#endif
69
70
#include "
mdblist.h
"
71
#include "
mcommon.h
"
72
#include "
mtype.h
"
73
#include "
mem-slab.h
"
74
#include "
hashtable.h
"
75
#include "
mobject.h
"
76
77
#include "
mcomponent.h
"
78
#include "mwidget.h"
79
#include "
mpopmenumgr.h
"
80
#include "
mtoolitem.h
"
81
82
#include "
piece.h
"
83
#include "
mtoolbaritems.h
"
84
85
#include "
mscroll_widget.h
"
86
87
#include "
mpanel.h
"
88
89
#ifdef _MGNCSCTRL_CONTAINER
90
#include "
mcontainer.h
"
91
#endif
92
93
#include "
mstatic.h
"
94
#include "
mimage.h
"
95
96
#ifdef _MGNCSCTRL_RECTANGLE
97
#include "
mrect.h
"
98
#endif
99
100
#include "
mgroupbox.h
"
101
#include "
mbuttongroup.h
"
102
#include "
mbutton.h
"
103
#include "
mcheckbutton.h
"
104
#include "
mradiobutton.h
"
105
106
#ifdef _MGNCSCTRL_MENUBUTTON
107
#include "
mmenubutton.h
"
108
#endif
109
110
#include "
mimagebutton.h
"
111
112
#ifdef _MGNCSCTRL_PROGRESSBAR
113
#include "
mprogressbar.h
"
114
#endif
115
116
#ifdef _MGNCSCTRL_SPINNER
117
#include "
mspinner.h
"
118
#endif
119
120
#ifdef _MGNCSCTRL_SPINBOX
121
#include "
mspinbox.h
"
122
#endif
123
124
#ifdef _MGNCSCTRL_SLIDER
125
#include "
mslider.h
"
126
#endif
127
128
#ifdef _MGNCSCTRL_TRACKBAR
129
#include "
mtrackbar.h
"
130
#endif
131
132
#ifdef _MGNCSCTRL_PAGE
133
#include "
mpage.h
"
134
#endif
135
136
#ifdef _MGNCSCTRL_PROPSHEET
137
#include "
mpropsheet.h
"
138
#endif
139
140
#include "mmainwnd.h"
141
142
#ifdef _MGNCSCTRL_DIALOGBOX
143
#include "mdialog.h"
144
#endif
145
146
#include "
mdblist.h
"
147
#include "
mitem.h
"
148
#include "
mitem_manager.h
"
149
#include "
mitemview.h
"
150
151
#ifdef _MGNCSCTRL_ICONVIEW
152
#include "
miconview.h
"
153
#endif
154
155
#include "
mscrollview.h
"
156
157
#include "
mlistcolumn.h
"
158
#include "
mlistitem.h
"
159
160
#ifdef _MGNCSCTRL_LISTVIEW
161
#include "
mlistview.h
"
162
#endif
163
164
#ifdef _MGNCSCTRL_LISTBOX
165
#include "
mlistbox.h
"
166
#endif
167
168
#ifdef _MGNCSCTRL_SCROLLBAR
169
#include "
mscrollbar.h
"
170
#endif
171
172
#ifdef _MGNCSCTRL_MONTHCALENDAR
173
#include "
mmonthcalendar.h
"
174
#endif
175
176
#ifdef _MGNCSCTRL_TOOLBAR
177
#include "
mtoolbar.h
"
178
#endif
179
180
#include "
minvisible-component.h
"
181
#include "
mtimer.h
"
182
183
#include "
medit.h
"
184
#include "
msledit.h
"
185
186
#ifdef _MGNCSCTRL_ANIMATE
187
#include "
manimate.h
"
188
#endif
189
190
#include "
mmledit.h
"
191
192
#ifdef _MGNCSCTRL_COMBOBOX
193
#include "
mcombobox.h
"
194
#endif
195
196
#ifdef _MGNCSCTRL_LEDLABEL
197
#include "
mledstatic.h
"
198
#endif
199
200
#ifdef _MGNCSCTRL_COLORBUTTON
201
#include "
mcolorbutton.h
"
202
#endif
203
204
#include "
mseparator.h
"
205
206
#include "
mnode.h
"
207
#include "
mchecknode.h
"
208
#include "mradionode.h"
209
#include "
mabstractlist.h
"
210
#include "
mlist_layout.h
"
211
212
#ifdef _MGNCSCTRL_LIST
213
#include "
mlist.h
"
214
#endif
215
216
#include "
mrdr.h
"
217
218
#ifdef _MGNCSDB_DATASOURCE
219
#include "
mdatabinding.h
"
220
#include "
mdatasource.h
"
221
#endif
222
223
#ifdef _MGNCSCTRL_TEXTEDITOR
224
#include "mbtree.h"
225
#include "
mtexteditbase.h
"
226
#include "
mtextedit.h
"
227
#endif
228
229
#include "
mresmgr.h
"
230
231
#ifdef _MGNCSENGINE_IME
232
#include "
mime.h
"
233
#endif
234
235
#ifdef _MGNCSCTRL_IMWORDSEL
236
#include "
mime-wordsel.h
"
237
#endif
238
239
typedef
mMainWnd
* (*PNCS_CREATE_MAIN)(
HPACKAGE
, HWND hParent, HICON h_icon, HMENU h_menu, DWORD);
240
241
#ifdef _MGRM_THREADS
242
MGNCS_EXPORT
mMainWnd
* ncsSyncCallCreate(HWND host, PNCS_CREATE_MAIN pCreateMain, \
243
HPACKAGE hPack, \
244
HICON h_icon, \
245
HMENU h_menu, \
246
DWORD user);
247
#else
248
249
250
#define ncsSyncCallCreate(host, pCreate, hPack, h_icon, h_menu, user) \
251
((PNCS_CREATE_MAIN)(pCreate))(hPack, host, h_icon, h_menu, user)
252
253
#endif
254
255
256
261
MGNCS_EXPORT BOOL
ncsInitialize
(
void
);
262
267
MGNCS_EXPORT
void
ncsUninitialize(
void
);
268
269
#ifdef __cplusplus
270
}
271
#endif
272
273
#endif
274
mcommon.h
mbuttongroup.h
mspinner.h
mime-wordsel.h
mlist.h
mcolorbutton.h
mlistitem.h
mlistview.h
mscrollview.h
mmledit.h
msledit.h
minvisible-component.h
mimagebutton.h
mitem.h
mpropsheet.h
mMainWnd
define the memders of mMainWnd, inherit from mPanel
mslider.h
mstatic.h
mdblist.h
mpanel.h
mtoolbaritems.h
mledstatic.h
mitemview.h
mtexteditbase.h
base header for the new text edit module.
mabstractlist.h
This file includes the definition of mAbstractList.
mchecknode.h
HPACKAGE
GHANDLE HPACKAGE
Handle to resource package.
Definition:
mresmgr.h:58
mtrackbar.h
mdatasource.h
mem-slab.h
mobject.h
mmonthcalendar.h
medit.h
mscrollbar.h
mime.h
mimage.h
mbutton.h
mdatabinding.h
mresmgr.h
mgroupbox.h
mtype.h
mtimer.h
mitem_manager.h
mlistcolumn.h
mrdr.h
mcomponent.h
manimate.h
This file includes declaration of mAnimate.
mnode.h
mtextedit.h
mlist_layout.h
mcombobox.h
miconview.h
mscroll_widget.h
mcontainer.h
mprogressbar.h
mradiobutton.h
mtoolbar.h
mpage.h
mcheckbutton.h
mspinbox.h
mpopmenumgr.h
mlistbox.h
ncsInitialize
MGNCS_EXPORT BOOL ncsInitialize(void)
Register all controls and other classes in the MGNCS.
hashtable.h
This file includes some functions for hashtable.
piece.h
mtoolitem.h
mmenubutton.h
mrect.h
mseparator.h
Generated by
1.8.11