mmemanimateframes.h
00001 #ifndef _MGUI_NCS_CTRLMEMANIMATEFRAMES_H
00002 #define _MGUI_NCS_CTRLMEMANIMATEFRAMES_H
00003
00004 #ifdef _cplusplus
00005 extern "C"{
00006 #endif
00007
00008 typedef struct _mMemAnimateFrames mMemAnimateFrames;
00009 typedef struct _mMemAnimateFramesClass mMemAnimateFramesClass;
00010
00011 typedef struct _mMemAnimateFrame{
00012 PBITMAP pbmp;
00013 struct _mMemAnimateFrame* next;
00014 struct _mMemAnimateFrame* prev;
00015 }mMemAnimateFrame;
00016
00017 #define mMemAnimateFramesHeader(clsName) \
00018 mAnimateFramesHeader(clsName) \
00019 mMemAnimateFrame *frames;
00020
00021 struct _mMemAnimateFrames{
00022 mMemAnimateFramesHeader(mAnimateFrames)
00023 };
00024
00025 #define mMemAnimateFramesClassHeader(clss, superCls) \
00026 mAnimateFramesClassHeader(clss, superCls) \
00027
00028 struct _mMemAnimateFramesClass{
00029 mMemAnimateFramesClassHeader(mMemAnimateFrames, mAnimateFrames)
00030 };
00031
00032 MGNCS_EXPORT extern mMemAnimateFramesClass g_stmMemAnimateFramesCls;
00033
00034
00035
00036 #ifdef _cplusplus
00037 }
00038 #endif
00039
00040 #endif