MiniGUI API Reference (MiniGUI-Standalone)
v3.2.0
A mature and proven cross-platform GUI system for embedded and smart IoT devices
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
include
ctrl
monthcal.h
Go to the documentation of this file.
1
43
/*
44
* $Id: monthcal.h 10690 2008-08-18 09:32:47Z weiym $
45
*
46
* MiniGUI for Linux/uClinux, eCos, uC/OS-II, VxWorks,
47
* pSOS, ThreadX, NuCleus, OSE, and Win32.
48
*/
49
50
#ifndef EXT_MONTHCAL_H
51
#define EXT_MONTHCAL_H
52
53
54
#ifdef __cplusplus
55
extern
"C"
{
56
#endif
57
72
#define CTRL_MONTHCALENDAR ("MonthCalendar")
73
75
typedef
struct
_SYSTEMTIME
76
{
78
int
year
;
80
int
month
;
82
int
day
;
84
int
weekday
;
85
}
SYSTEMTIME
;
90
typedef
SYSTEMTIME
*
PSYSTEMTIME
;
91
93
typedef
struct
_MCCOLORINFO
94
{
96
int
clr_titlebk
;
98
int
clr_titletext
;
100
int
clr_arrow
;
102
int
clr_arrowHibk
;
103
105
int
clr_weekcaptbk
;
107
int
clr_weekcapttext
;
108
110
int
clr_daybk
;
112
int
clr_dayHibk
;
114
int
clr_daytext
;
116
int
clr_trailingtext
;
118
int
clr_dayHitext
;
119
}
MCCOLORINFO
;
120
125
typedef
MCCOLORINFO
*
PMCCOLORINFO
;
126
135
#define MCS_CHN 0x0001L
136
141
#define MCS_ENG_L 0x0002L
142
147
#define MCS_ENG_S 0x0003L
148
153
#define MCS_NOTIFY 0x0004L
154
159
#define MCS_NOYEARMON 0x0008L
160
181
#define MCM_GETCURDAY 0xF300
182
196
#define MCM_GETCURMONTH 0xF301
197
211
#define MCM_GETCURYEAR 0xF302
212
226
#define MCM_GETCURWEEKDAY 0xF303
227
241
#define MCM_GETCURMONLEN 0xF304
242
257
#define MCM_SETCURDAY 0xF305
258
273
#define MCM_SETCURMONTH 0xF306
274
289
#define MCM_SETCURYEAR 0xF307
290
302
#define MCM_SETTODAY 0xF308
303
317
#define MCM_GETFIRSTWEEKDAY 0xF309
318
333
#define MCM_GETCURDATE 0xF310
334
350
#define MCM_GETTODAY 0xF311
351
366
#define MCM_GETMINREQRECTW 0xF312
367
382
#define MCM_GETMINREQRECTH 0xF313
383
399
#define MCM_SETCURDATE 0xF314
400
416
#define MCM_SETCOLOR 0xF315
417
432
#define MCM_GETCOLOR 0xF316
433
450
#define MCM_SETDAYCOLOR 0xF317
451
463
#define MCM_CLEARDAYCOLOR 0xF318
464
465
477
#define MCN_DATECHANGE 1
478
/*#define MCN_DAYCHANGE 2 */
479
#define MCN_DATECLK 3
480
486
#ifdef __cplusplus
487
}
488
#endif
489
490
#endif
/* EXT_MONTHCAL_H */
491
_MCCOLORINFO::clr_daybk
int clr_daybk
Definition:
monthcal.h:110
_SYSTEMTIME::month
int month
Definition:
monthcal.h:80
_MCCOLORINFO::clr_weekcaptbk
int clr_weekcaptbk
Definition:
monthcal.h:105
MCCOLORINFO
struct _MCCOLORINFO MCCOLORINFO
_MCCOLORINFO::clr_dayHibk
int clr_dayHibk
Definition:
monthcal.h:112
_MCCOLORINFO::clr_trailingtext
int clr_trailingtext
Definition:
monthcal.h:116
_MCCOLORINFO::clr_weekcapttext
int clr_weekcapttext
Definition:
monthcal.h:107
_SYSTEMTIME::day
int day
Definition:
monthcal.h:82
_MCCOLORINFO::clr_daytext
int clr_daytext
Definition:
monthcal.h:114
PSYSTEMTIME
SYSTEMTIME * PSYSTEMTIME
Data type of the pointer to a SYSTEMTIME.
Definition:
monthcal.h:90
_MCCOLORINFO::clr_dayHitext
int clr_dayHitext
Definition:
monthcal.h:118
_MCCOLORINFO::clr_titlebk
int clr_titlebk
Definition:
monthcal.h:96
SYSTEMTIME
struct _SYSTEMTIME SYSTEMTIME
_MCCOLORINFO::clr_arrowHibk
int clr_arrowHibk
Definition:
monthcal.h:102
_SYSTEMTIME
Definition:
monthcal.h:75
_SYSTEMTIME::weekday
int weekday
Definition:
monthcal.h:84
_MCCOLORINFO
Definition:
monthcal.h:93
_SYSTEMTIME::year
int year
Definition:
monthcal.h:78
_MCCOLORINFO::clr_arrow
int clr_arrow
Definition:
monthcal.h:100
_MCCOLORINFO::clr_titletext
int clr_titletext
Definition:
monthcal.h:98
PMCCOLORINFO
MCCOLORINFO * PMCCOLORINFO
Data type of the pointer to a MCCOLORINFO.
Definition:
monthcal.h:125
Generated by
1.8.11