mimagebutton.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #ifdef _MGNCSCTRL_IMAGEBUTTON
00015
00016 #ifndef _MGUI_NCSCTRL_IMAGEBUTTON_H
00017 #define _MGUI_NCSCTRL_IMAGEBUTTON_H
00018
00019 #ifdef __cplusplus
00020 extern "C" {
00021 #endif
00022
00032 #define NCSCTRL_IMAGEBUTTON NCSCLASSNAME("imagebutton")
00033
00034 DECLARE_OBJECT(mImageButton)
00035
00036
00037 #define mImageButtonHeader(clss) \
00038 mButtonHeader(clss)
00039
00040 #define mImageButtonClassHeader(clss, superCls) \
00041 mButtonClassHeader(clss, superCls)
00042
00043 typedef mButtonRenderer mImageButtonRenderer;
00044
00045 DEFINE_OBJECT(mImageButton, mImageButton)
00046
00047 enum mImageButtonProp {
00048 NCSP_IMGBTN_IMAGE = NCSP_BUTTON_IMAGE,
00049 NCSP_IMGBTN_TOOLIMAGEFILE = NCSP_BUTTON_MAX + 1,
00050 NCSP_IMGBTN_TOOLIMAGE,
00051 NCSP_IMGBTN_MAX
00052 };
00053
00054 enum mImageButtonNotify{
00055 NCSN_IMGBTN_MAX = NCSN_BUTTON_MAX + 1
00056 };
00057
00058 #ifdef __cplusplus
00059 }
00060 #endif
00061
00062 #endif
00063 #endif //_MGNCSCTRL_IMAGEBUTTON