mpushbuttonpiece.h
00001
00002 #ifndef _MGUI_NCSCTRL_PUSHBUTTONPIECE_H
00003 #define _MGUI_NCSCTRL_PUSHBUTTONPIECE_H
00004
00005 #ifdef __cplusplus
00006 extern "C" {
00007 #endif
00008
00009 typedef struct _mPushButtonPieceClass mPushButtonPieceClass;
00010 typedef struct _mPushButtonPiece mPushButtonPiece;
00011
00012 #define mPushButtonPieceClassHeader(clss, superCls) \
00013 mAbstractButtonPieceClassHeader(clss, superCls)
00014
00015 struct _mPushButtonPieceClass
00016 {
00017 mPushButtonPieceClassHeader(mPushButtonPiece, mAbstractButtonPiece)
00018 };
00019
00020 MGNCS_EXPORT extern mPushButtonPieceClass g_stmPushButtonPieceCls;
00021
00022 #define mPushButtonPieceHeader(clss) \
00023 mAbstractButtonPieceHeader(clss) \
00024 mHotPiece * content;
00025
00026 struct _mPushButtonPiece
00027 {
00028 mPushButtonPieceHeader(mPushButtonPiece)
00029 };
00030
00031 #ifdef __cplusplus
00032 }
00033 #endif
00034
00035 #endif
00036