mGNCS4Touch API Reference
v1.5.0
A set of mGNCS-compliant controls for devices with a touch screen.
|
52 #ifndef __NCS4TOUCH_ITEM_BAR_H__
53 #define __NCS4TOUCH_ITEM_BAR_H__
67 #define NCSCTRL_ITEMBAR NCSCLASSNAME("itembar")
73 #define mItemBarHeader(clsName) \
74 mWidgetHeader(clsName) \
92 #define mItemBarClassHeader(clsName, parentClass) \
93 mWidgetClassHeader(clsName, parentClass)
101 struct _mItemBarClass {
102 mItemBarClassHeader(
mItemBar, mWidget)
105 #define mItemBarRendererHeader(clsName, parentClass) \
106 mWidgetRendererHeader(clsName, parentClass)
114 struct _mItemBarRenderer {
115 mItemBarRendererHeader(
mItemBar, mWidget)
166 #define NCSS_ITEMBAR_CHECKABLE (1 << NCSS_WIDGET_SHIFT)
167 #define NCSS_ITEMBAR_HASCHILD (2 << NCSS_WIDGET_SHIFT)
168 #define NCSS_ITEMBAR_SHIFT (NCSS_WIDGET_SHIFT + 2)
itembar struct of itembar control, derived from mWidgetClass
MTOUCH_EXPORT mItemBarClass g_stmItemBarCls
global mItemBarClass
@ NCSP_ITEMBAR_CHECKED
Identify with NCSS_ITEMBAR_CHECKABLE style controls, is selecte.
@ NCSP_ITEMBAR_MARGIN
Both ends of the blank size.
ItemBar class renderer interface, derived from mWidgetRenderer.
@ NCSN_ITEMBAR_CHECKED
Identifies the control with NCSS_ITEMBAR_CHECKABLE style, selection status changes.
ItemBar class, derived from mWidget.
mItemBarNotify
the notification code of mItemBar
@ NCSP_ITEMBAR_IMG
Displayed as icons with a picture.
mItemBarProp
the properties id of mItemBar