MiniGUI API Reference (MiniGUI-Processes)
v5.0.6
A mature and proven cross-platform GUI system for embedded and smart IoT devices
include
ctrl
monthcal.h
Go to the documentation of this file.
1
//
3
// IMPORTANT NOTICE
4
//
5
// The following open source license statement does not apply to any
6
// entity in the Exception List published by FMSoft.
7
//
8
// For more information, please visit:
9
//
10
// https://www.fmsoft.cn/exception-list
11
//
13
55
/*
56
* $Id: monthcal.h 10690 2008-08-18 09:32:47Z weiym $
57
*
58
* MiniGUI for Linux/uClinux, eCos, uC/OS-II, VxWorks,
59
* pSOS, ThreadX, NuCleus, OSE, and Win32.
60
*/
61
62
#ifndef EXT_MONTHCAL_H
63
#define EXT_MONTHCAL_H
64
65
66
#ifdef __cplusplus
67
extern
"C"
{
68
#endif
69
84
#define CTRL_MONTHCALENDAR ("MonthCalendar")
85
87
typedef
struct
_SYSTEMTIME
88
{
90
int
year
;
92
int
month
;
94
int
day
;
96
int
weekday
;
97
}
SYSTEMTIME
;
102
typedef
SYSTEMTIME
*
PSYSTEMTIME
;
103
105
typedef
struct
_MCCOLORINFO
106
{
108
int
clr_titlebk
;
110
int
clr_titletext
;
112
int
clr_arrow
;
114
int
clr_arrowHibk
;
115
117
int
clr_weekcaptbk
;
119
int
clr_weekcapttext
;
120
122
int
clr_daybk
;
124
int
clr_dayHibk
;
126
int
clr_daytext
;
128
int
clr_trailingtext
;
130
int
clr_dayHitext
;
131
}
MCCOLORINFO
;
132
137
typedef
MCCOLORINFO
*
PMCCOLORINFO
;
138
147
#define MCS_CHN 0x0001L
148
153
#define MCS_ENG_L 0x0002L
154
159
#define MCS_ENG_S 0x0003L
160
165
#define MCS_NOTIFY 0x0004L
166
171
#define MCS_NOYEARMON 0x0008L
172
193
#define MCM_GETCURDAY 0xF300
194
208
#define MCM_GETCURMONTH 0xF301
209
223
#define MCM_GETCURYEAR 0xF302
224
238
#define MCM_GETCURWEEKDAY 0xF303
239
253
#define MCM_GETCURMONLEN 0xF304
254
269
#define MCM_SETCURDAY 0xF305
270
285
#define MCM_SETCURMONTH 0xF306
286
301
#define MCM_SETCURYEAR 0xF307
302
314
#define MCM_SETTODAY 0xF308
315
329
#define MCM_GETFIRSTWEEKDAY 0xF309
330
345
#define MCM_GETCURDATE 0xF310
346
362
#define MCM_GETTODAY 0xF311
363
378
#define MCM_GETMINREQRECTW 0xF312
379
394
#define MCM_GETMINREQRECTH 0xF313
395
411
#define MCM_SETCURDATE 0xF314
412
428
#define MCM_SETCOLOR 0xF315
429
444
#define MCM_GETCOLOR 0xF316
445
462
#define MCM_SETDAYCOLOR 0xF317
463
475
#define MCM_CLEARDAYCOLOR 0xF318
476
477
489
#define MCN_DATECHANGE 1
490
/*#define MCN_DAYCHANGE 2 */
491
#define MCN_DATECLK 3
492
498
#ifdef __cplusplus
499
}
500
#endif
501
502
#endif
/* EXT_MONTHCAL_H */
503
_SYSTEMTIME::day
int day
Definition:
monthcal.h:94
_SYSTEMTIME::month
int month
Definition:
monthcal.h:92
_MCCOLORINFO::clr_arrowHibk
int clr_arrowHibk
Definition:
monthcal.h:114
PSYSTEMTIME
SYSTEMTIME * PSYSTEMTIME
Data type of the pointer to a SYSTEMTIME.
Definition:
monthcal.h:102
PMCCOLORINFO
MCCOLORINFO * PMCCOLORINFO
Data type of the pointer to a MCCOLORINFO.
Definition:
monthcal.h:137
_SYSTEMTIME::weekday
int weekday
Definition:
monthcal.h:96
_MCCOLORINFO::clr_dayHibk
int clr_dayHibk
Definition:
monthcal.h:124
_MCCOLORINFO
Definition:
monthcal.h:105
_MCCOLORINFO::clr_titletext
int clr_titletext
Definition:
monthcal.h:110
MCCOLORINFO
struct _MCCOLORINFO MCCOLORINFO
_MCCOLORINFO::clr_dayHitext
int clr_dayHitext
Definition:
monthcal.h:130
_SYSTEMTIME
Definition:
monthcal.h:87
SYSTEMTIME
struct _SYSTEMTIME SYSTEMTIME
_MCCOLORINFO::clr_daytext
int clr_daytext
Definition:
monthcal.h:126
_MCCOLORINFO::clr_titlebk
int clr_titlebk
Definition:
monthcal.h:108
_MCCOLORINFO::clr_weekcaptbk
int clr_weekcaptbk
Definition:
monthcal.h:117
_SYSTEMTIME::year
int year
Definition:
monthcal.h:90
_MCCOLORINFO::clr_arrow
int clr_arrow
Definition:
monthcal.h:112
_MCCOLORINFO::clr_weekcapttext
int clr_weekcapttext
Definition:
monthcal.h:119
_MCCOLORINFO::clr_trailingtext
int clr_trailingtext
Definition:
monthcal.h:128
_MCCOLORINFO::clr_daybk
int clr_daybk
Definition:
monthcal.h:122
Generated by
1.8.17