mimagebutton.h

00001 /*
00002  ** $Id: mimagebutton.h 1617 2011-03-24 09:48:44Z shidazhi $
00003  **
00004  ** mimagebutton.h:
00005  **
00006  ** Copyright (C) 2003 ~ 2010 Beijing Feynman Software Technology Co., Ltd.
00007  **
00008  ** All rights reserved by Feynman Software.
00009  **
00010  ** Current maintainer: dongjunjie
00011  **
00012  ** Create date: 2010年12月24日
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
Generated on Fri Jun 10 11:18:06 2011 for New Control Set V1.0.0 API Reference by  doxygen 1.6.3