mGNCS API Reference  v1.2.0
A new control set and a new framework for MiniGUI apps
mimagebutton.h
Go to the documentation of this file.
1 
42 #ifdef _MGNCSCTRL_IMAGEBUTTON
43 
44 #ifndef _MGUI_NCSCTRL_IMAGEBUTTON_H
45 #define _MGUI_NCSCTRL_IMAGEBUTTON_H
46 
47 #ifdef __cplusplus
48 extern "C" {
49 #endif
50 
60 #define NCSCTRL_IMAGEBUTTON NCSCLASSNAME("imagebutton")
61 
62 DECLARE_OBJECT(mImageButton)
63 
64 
65 #define mImageButtonHeader(clss) \
66  mButtonHeader(clss)
67 
68 #define mImageButtonClassHeader(clss, superCls) \
69  mButtonClassHeader(clss, superCls)
70 
71 typedef mButtonRenderer mImageButtonRenderer;
72 
73 DEFINE_OBJECT(mImageButton, mButton)
74 
75 enum mImageButtonProp {
76  NCSP_IMGBTN_IMAGE = NCSP_BUTTON_IMAGE,
77  NCSP_IMGBTN_TOOLIMAGEFILE = NCSP_BUTTON_MAX + 1,
78  NCSP_IMGBTN_TOOLIMAGE,
79  NCSP_IMGBTN_MAX
80 };
81 
82 enum mImageButtonNotify{
83  NCSN_IMGBTN_MAX = NCSN_BUTTON_MAX + 1
84 };
85 
86 #ifdef __cplusplus
87 }
88 #endif
89 
90 #endif
91 #endif //_MGNCSCTRL_IMAGEBUTTON
Set the button image pointer.
Definition: mbutton.h:207
Button class renderer interface, derived from mWidgetRenderer.
Button class, derived from mWidget.