mspinboxpiece.h
00001 #ifdef _MGNCSCTRL_SPINBOX
00002
00003 #ifndef _MGUI_NCSCTRL_SPNRPIECE_H
00004 #define _MGUI_NCSCTRL_SPNRPIECE_H
00005
00006 #ifdef __cplusplus
00007 extern "C" {
00008 #endif
00009
00010 typedef struct _mSpinBoxPieceClass mSpinBoxPieceClass;
00011 typedef struct _mSpinBoxPiece mSpinBoxPiece;
00012
00013 #define mSpinBoxPieceClassHeader(clss, superCls) \
00014 mSpinnerPieceClassHeader(clss, superCls) \
00015 mHotPiece *(*getSpinnedPiece)(clss *);
00016
00017 struct _mSpinBoxPieceClass
00018 {
00019 mSpinBoxPieceClassHeader(mSpinBoxPiece, mSpinnerPiece)
00020 };
00021
00022 MGNCS_EXPORT extern mSpinBoxPieceClass g_stmSpinBoxPieceCls;
00023
00024 #define mSpinBoxPieceHeader(clss) \
00025 mSpinnerPieceHeader(clss)
00026
00027 struct _mSpinBoxPiece
00028 {
00029 mSpinBoxPieceHeader(mSpinBoxPiece)
00030 };
00031
00032 #ifdef __cplusplus
00033 }
00034 #endif
00035
00036 #endif
00037 #endif //_MGNCSCTRL_SPINBOX
00038