mmonthpiece.h

00001 #ifdef _MGNCSCTRL_MONTHCALENDAR
00002 
00003 #ifndef _MGUI_NCSCTRL_MONTHPIECEPIECE_H
00004 #define _MGUI_NCSCTRL_MONTHPIECEPIECE_H
00005 
00006 #ifdef __cplusplus
00007 extern "C" {
00008 #endif
00009 
00010 typedef struct _mMonthPieceClass mMonthPieceClass;
00011 typedef struct _mMonthPiece mMonthPiece;
00012 
00013 #define mMonthPieceClassHeader(clss, superCls) \
00014         mContainerPieceClassHeader(clss, superCls)
00015 
00016 struct _mMonthPieceClass
00017 {
00018         mMonthPieceClassHeader(mMonthPiece, mContainerPiece)
00019 };
00020 
00021 MGNCS_EXPORT extern mMonthPieceClass g_stmMonthPieceCls;
00022 
00023 #define mMonthPieceHeader(clss) \
00024         mContainerPieceHeader(clss)  \
00025         unsigned char cur_day; \
00026         unsigned char hot_row; \
00027         unsigned char hot_col;
00028 
00029 struct _mMonthPiece
00030 {
00031         mMonthPieceHeader(mMonthPiece)
00032 };
00033 
00034 enum mMonthPieceProps{
00035         NCSP_MONTHPIECE_CURDAY = MONTHPIECE_PROP_BEGIN,
00036 };
00037 
00038 enum mMonthPieceEvent {
00039         NCSN_MONTHPIECE_PREVMONTH = MONTHPIECE_EVENT_BEGIN,
00040         NCSN_MONTHPIECE_NEXTMONTH,
00041         NCSN_MONTHPIECE_DAYCHANGED
00042 };
00043 
00044 #ifdef __cplusplus
00045 }
00046 #endif
00047 
00048 #endif
00049 #endif //_MGNCSCTRL_MONTHCALENDAR
Generated on Fri Jun 10 11:18:06 2011 for New Control Set V1.0.0 API Reference by  doxygen 1.6.3