mmonthcalendar.h

00001 #ifdef _MGNCSCTRL_MONTHCALENDAR
00002 
00003 #ifndef _MGUI_NCSCTRL_CDR_H
00004 #define _MGUI_NCSCTRL_CDR_H
00005 
00006 #ifdef __cplusplus
00007 extern "C" {
00008 #endif
00009 
00019 #define NCSCTRL_MONTHCALENDAR NCSCLASSNAME("monthcal")
00020 
00021 typedef struct _mMonthCalendarClass mMonthCalendarClass;
00022 typedef struct _mMonthCalendar mMonthCalendar;
00023 typedef struct _mMonthCalendarRenderer mMonthCalendarRenderer;
00024 
00025 #define mMonthCalendarRendererHeader(clss, superCls) \
00026    mWidgetRendererHeader(clss, superCls)
00027 
00028 struct _mMonthCalendarRenderer
00029 {
00030         mMonthCalendarRendererHeader(mMonthCalendar, mWidget)
00031 };
00032 
00033 #define mMonthCalendarClassHeader(clss, superCls) \
00034         mWidgetClassHeader(clss, superCls)
00035 
00041 struct _mMonthCalendarClass
00042 {
00043         mMonthCalendarClassHeader(mMonthCalendar, mWidget)
00044 };
00045 
00046 MGNCS_EXPORT extern mMonthCalendarClass g_stmMonthCalendarCls;
00047 
00048 #define mMonthCalendarHeader(clss) \
00049         mWidgetHeader(clss)
00050 
00056 struct _mMonthCalendar
00057 {
00058         mMonthCalendarHeader(mMonthCalendar)
00059 };
00060 
00065 enum mMonthCalendarProps{
00072         NCSP_CDR_YEAR = NCSP_WIDGET_MAX + 1,
00078         NCSP_CDR_MONTH,
00084         NCSP_CDR_DAY,
00085         NCSP_CDR_MAX
00086 };
00087 
00092 enum mMonthCalendarEvents{
00097         NCSN_CDR_YEAR_CHANGED = NCSN_WIDGET_MAX + 1,
00102         NCSN_CDR_MONTH_CHANGED,
00107         NCSN_CDR_DAY_CHANGED,
00108         NCSN_CDR_MAX
00109 };
00110 
00115 #ifdef __cplusplus
00116 }
00117 #endif
00118 
00119 #endif
00120 #endif //_MGNCSCTRL_MONTHCALENDAR
00121 
Generated on Fri Jun 10 11:18:06 2011 for New Control Set V1.0.0 API Reference by  doxygen 1.6.3