43 #ifdef _MGNCSCTRL_MONTHCALENDAR
45 #ifndef _MGUI_NCSCTRL_MONTHPIECEPIECE_H
46 #define _MGUI_NCSCTRL_MONTHPIECEPIECE_H
52 typedef struct _mMonthPieceClass mMonthPieceClass;
53 typedef struct _mMonthPiece mMonthPiece;
55 #define mMonthPieceClassHeader(clss, superCls) \
56 mContainerPieceClassHeader(clss, superCls)
58 struct _mMonthPieceClass
60 mMonthPieceClassHeader(mMonthPiece, mContainerPiece)
63 MGNCS_EXPORT
extern mMonthPieceClass g_stmMonthPieceCls;
65 #define mMonthPieceHeader(clss) \
66 mContainerPieceHeader(clss) \
67 unsigned char cur_day; \
68 unsigned char hot_row; \
69 unsigned char hot_col;
73 mMonthPieceHeader(mMonthPiece)
76 enum mMonthPieceProps{
77 NCSP_MONTHPIECE_CURDAY = MONTHPIECE_PROP_BEGIN,
80 enum mMonthPieceEvent {
81 NCSN_MONTHPIECE_PREVMONTH = MONTHPIECE_EVENT_BEGIN,
82 NCSN_MONTHPIECE_NEXTMONTH,
83 NCSN_MONTHPIECE_DAYCHANGED
91 #endif //_MGNCSCTRL_MONTHCALENDAR