31 #ifdef _MGNCSCTRL_MONTHCALENDAR 33 #ifndef _MGUI_NCSCTRL_MONTHPIECEPIECE_H 34 #define _MGUI_NCSCTRL_MONTHPIECEPIECE_H 40 typedef struct _mMonthPieceClass mMonthPieceClass;
41 typedef struct _mMonthPiece mMonthPiece;
43 #define mMonthPieceClassHeader(clss, superCls) \ 44 mContainerPieceClassHeader(clss, superCls) 46 struct _mMonthPieceClass
48 mMonthPieceClassHeader(mMonthPiece, mContainerPiece)
51 MGNCS_EXPORT
extern mMonthPieceClass g_stmMonthPieceCls;
53 #define mMonthPieceHeader(clss) \ 54 mContainerPieceHeader(clss) \ 55 unsigned char cur_day; \ 56 unsigned char hot_row; \ 57 unsigned char hot_col; 61 mMonthPieceHeader(mMonthPiece)
64 enum mMonthPieceProps{
65 NCSP_MONTHPIECE_CURDAY = MONTHPIECE_PROP_BEGIN,
68 enum mMonthPieceEvent {
69 NCSN_MONTHPIECE_PREVMONTH = MONTHPIECE_EVENT_BEGIN,
70 NCSN_MONTHPIECE_NEXTMONTH,
71 NCSN_MONTHPIECE_DAYCHANGED
79 #endif //_MGNCSCTRL_MONTHCALENDAR