mGNCS4Touch API Reference
v1.5.0
A set of mGNCS-compliant controls for devices with a touch screen.
|
52 #ifndef __MGNCS4TOUCH_BNB_H__
53 #define __MGNCS4TOUCH_BNB_H__
67 #define NCSCTRL_BTNNAVBAR NCSCLASSNAME("btnnavbar")
94 #define NCSS_BNB_LRECT (0x01 << NCSS_WIDGET_SHIFT)
95 #define NCSS_BNB_LOPT (0x02 << NCSS_WIDGET_SHIFT)
96 #define NCSS_BNB_LNONE (0x04 << NCSS_WIDGET_SHIFT)
97 #define NCSS_BNB_RRECT (0x08 << NCSS_WIDGET_SHIFT)
98 #define NCSS_BNB_ROPT (0x10 << NCSS_WIDGET_SHIFT)
99 #define NCSS_BNB_RNONE (0x20 << NCSS_WIDGET_SHIFT)
100 #define NCSS_BNB_SHIFT (NCSS_WIDGET_SHIFT + 6)
142 #define mBtnNavBarHeader(clsName) \
143 mWidgetHeader(clsName) \
144 PLOGFONT caption_font; \
162 #define mBtnNavBarClassHeader(clsName, parentClass) \
163 mWidgetClassHeader(clsName, parentClass)
171 struct _mBtnNavBarClass {
175 #define mBtnNavBarRendererHeader(clsName, parentClass) \
176 mWidgetRendererHeader(clsName, parentClass)
184 struct _mBtnNavBarRenderer {
238 #define GetLeftBtnPiece(self) _M((mHBoxLayoutPiece *)self->body, getCell, BNB_LEFT_PIECE_ID)
239 #define GetRightBtnPiece(self) _M((mHBoxLayoutPiece *)self->body, getCell, BNB_RIGHT_PIECE_ID)
@ BNB_RIGHT_PIECE_ID
The right piece of the index id.
@ NCSP_BNB_RIGHT_W
The width of the right button.
@ NCSP_BNB_BTN_H
Left and right buttons of the high.
@ NCSP_BNB_LSTRING
Store the string on the left button.
@ NCSP_BNB_FONT
Set the font size on the navigation bar.
toolcaption struct of toolcaption control, derived from mWidgetClass
mBtnNavBarProp
the properties id of mBtnNavBar
mBtnNavBarBoxLayoutPieceIndexID
the piece index id of mBtnNavBar
@ BNB_LEFT_PIECE_ID
The left piece of the index id.
BtnNavBar class renderer interface, derived from mWidgetRenderer.
@ NCSD_BNB_RIGHT
Right button click event listener param.
@ NCSP_BNB_MARGIN
Left and right ends of the blank reserved for control.
@ NCSP_BNB_LEFT_W
The width of the left button.
BtnNavBar class, derived from mWidget.
@ NCSN_BNB_BTNCLICK
Around both ends of the button click event listener.
mBtnNavBarData
define the clicked add of param
@ NCSD_BNB_LEFT
Left button click event listener param.
@ NCSP_BNB_RSTRING
Store the string on the right button.
MTOUCH_EXPORT mBtnNavBarClass g_stmBtnNavBarCls
global mBtnNavBarClass
mBtnNavBarNotify
the notification code of mBtnNavBar