41 #if defined(__cplusplus) 51 #define CALENDAR_CI_WEEKEND 0 52 #define CALENDAR_CI_WEEKDAY 1 53 #define CALENDAR_CI_SEL 2 55 #define CALENDAR_CI_HEADER 3 56 #define CALENDAR_CI_MONTH 4 57 #define CALENDAR_CI_LABEL 5 58 #define CALENDAR_CI_FRAME 6 60 #define CALENDAR_FI_CONTENT 0 61 #define CALENDAR_FI_HEADER 1 63 #define CALENDAR_SI_HEADER 0 64 #define CALENDAR_SI_CELL_X 1 65 #define CALENDAR_SI_CELL_Y 2 74 #define CALENDAR_NOTIFICATION_MONTH_CLICKED (WM_NOTIFICATION_WIDGET + 0) 75 #define CALENDAR_NOTIFICATION_MONTH_RELEASED (WM_NOTIFICATION_WIDGET + 1) 102 } CALENDAR_SKINFLEX_PROPS;
110 WM_HWIN CALENDAR_Create (WM_HWIN hParent,
int xPos,
int yPos,
unsigned Year,
unsigned Month,
unsigned Day,
unsigned FirstDayOfWeek,
int Id,
int Flags);
111 void CALENDAR_GetDate (WM_HWIN hWin, CALENDAR_DATE * pDate);
112 void CALENDAR_GetSel (WM_HWIN hWin, CALENDAR_DATE * pDate);
113 void CALENDAR_SetDate (WM_HWIN hWin, CALENDAR_DATE * pDate);
114 void CALENDAR_SetSel (WM_HWIN hWin, CALENDAR_DATE * pDate);
115 void CALENDAR_ShowDate (WM_HWIN hWin, CALENDAR_DATE * pDate);
121 void CALENDAR_SetDefaultBkColor(
unsigned Index,
GUI_COLOR Color);
122 void CALENDAR_SetDefaultColor (
unsigned Index,
GUI_COLOR Color);
123 void CALENDAR_SetDefaultDays (
const char ** apDays);
124 void CALENDAR_SetDefaultFont (
unsigned Index,
const GUI_FONT * pFont);
125 void CALENDAR_SetDefaultMonths (
const char ** apMonths);
126 void CALENDAR_SetDefaultSize (
unsigned Index,
unsigned Size);
132 void CALENDAR_GetSkinFlexProps (CALENDAR_SKINFLEX_PROPS * pProps,
int Index);
133 void CALENDAR_SetSkinFlexProps (
const CALENDAR_SKINFLEX_PROPS * pProps,
int Index);
142 void CALENDAR_Callback(WM_MESSAGE * pMsg);
144 #if defined(__cplusplus) 148 #endif // GUI_WINSUPPORT