mrenderablepiece.h
00001
00002 #ifndef _MGUI_NCSCTRL_RENDERABLEPIECE_H
00003 #define _MGUI_NCSCTRL_RENDERABLEPIECE_H
00004
00005 #ifdef __cplusplus
00006 extern "C" {
00007 #endif
00008
00009 typedef struct _mRenderablePieceClass mRenderablePieceClass;
00010 typedef struct _mRenderablePiece mRenderablePiece;
00011
00012 #define mRenderablePieceClassHeader(clss, superCls) \
00013 mStaticPieceClassHeader(clss, superCls)
00014
00015 struct _mRenderablePieceClass
00016 {
00017 mRenderablePieceClassHeader(mRenderablePiece, mStaticPiece)
00018 };
00019
00020 extern mRenderablePieceClass g_stmRenderablePieceCls;
00021
00022 #define mRenderablePieceHeader(clss) \
00023 mStaticPieceHeader(clss) \
00024 PHotPieceRdrFunc rdr_func;
00025
00026 struct _mRenderablePiece
00027 {
00028 mRenderablePieceHeader(mRenderablePiece)
00029 };
00030
00031
00032 #ifdef __cplusplus
00033 }
00034 #endif
00035
00036 #endif
00037