mpanel.h
Go to the documentation of this file.00001
00025 #ifndef _MGUI_NCSCTRL_PANEL_H
00026 #define _MGUI_NCSCTRL_PANEL_H
00027
00028
00029 #ifdef __cplusplus
00030 extern "C" {
00031 #endif
00032
00042 #define NCSCTRL_PANEL NCSCLASSNAME("panel")
00043
00044 typedef struct _mPanel mPanel;
00045 typedef struct _mPanelClass mPanelClass;
00046 typedef struct _mPanelRenderer mPanelRenderer;
00047
00048 #define mPanelHeader(className) \
00049 mWidgetHeader(className)
00050
00056 struct _mPanel
00057 {
00058 mPanelHeader(mPanel)
00059 };
00060
00061 #define mPanelClassHeader(clsName, parentClass) \
00062 mWidgetClassHeader(clsName, parentClass)
00063
00069 struct _mPanelClass
00070 {
00071 mPanelClassHeader(mPanel, mWidget)
00072 };
00073
00074 #define mPanelRendererHeader(clsName, parentClass) \
00075 mWidgetRendererHeader(clsName, parentClass)
00076
00082 struct _mPanelRenderer {
00083 mPanelRendererHeader(mPanel, mWidget)
00084 };
00085
00086
00093 MGNCS_EXPORT extern mPanelClass g_stmPanelCls;
00094
00099 enum mPanelProp {
00103 NCSP_PANEL_MAX = NCSP_WIDGET_MAX + 1
00104 };
00105
00110 #define NCSS_PANEL_SHIFT NCSS_WIDGET_SHIFT
00111
00116 enum mPanelNotify {
00120 NCSN_PANEL_MAX = NCSN_WIDGET_MAX + 1
00121 };
00122
00125 #ifdef __cplusplus
00126 }
00127 #endif
00128
00129 #endif