mGNCS4Touch API Reference  v1.5.0
A set of mGNCS-compliant controls for devices with a touch screen.
Data Structures | Macros | Enumerations | Variables
mItemBar

Data Structures

struct  mItemBar
 ItemBar class, derived from mWidget. More...
 
struct  mItemBarClass
 itembar struct of itembar control, derived from mWidgetClass More...
 
struct  mItemBarRenderer
 ItemBar class renderer interface, derived from mWidgetRenderer. More...
 

Macros

#define NCSCTRL_ITEMBAR   NCSCLASSNAME("itembar")
 the name of itembar control More...
 

Enumerations

enum  mItemBarProp { NCSP_ITEMBAR_CHECKED = NCSP_WIDGET_MAX + 1, NCSP_ITEMBAR_IMG, NCSP_ITEMBAR_MARGIN }
 the properties id of mItemBar More...
 
enum  mItemBarNotify { NCSN_ITEMBAR_CHECKED = NCSN_WIDGET_MAX + 1 }
 the notification code of mItemBar More...
 

Variables

MTOUCH_EXPORT mItemBarClass g_stmItemBarCls
 global mItemBarClass More...
 

mItemBarStyle the style id of \ref mItemBar

#define NCSS_ITEMBAR_CHECKABLE   (1 << NCSS_WIDGET_SHIFT)
 Click Check whether there is support for the control. More...
 
#define NCSS_ITEMBAR_HASCHILD   (2 << NCSS_WIDGET_SHIFT)
 Whether child controls identified. More...
 
#define NCSS_ITEMBAR_SHIFT   (NCSS_WIDGET_SHIFT + 2)
 

Detailed Description

Macro Definition Documentation

◆ NCSCTRL_ITEMBAR

#define NCSCTRL_ITEMBAR   NCSCLASSNAME("itembar")

the name of itembar control

Definition at line 67 of file mitembar.h.

◆ NCSS_ITEMBAR_CHECKABLE

#define NCSS_ITEMBAR_CHECKABLE   (1 << NCSS_WIDGET_SHIFT)

Click Check whether there is support for the control.

Definition at line 166 of file mitembar.h.

◆ NCSS_ITEMBAR_HASCHILD

#define NCSS_ITEMBAR_HASCHILD   (2 << NCSS_WIDGET_SHIFT)

Whether child controls identified.

Definition at line 167 of file mitembar.h.

Enumeration Type Documentation

◆ mItemBarNotify

the notification code of mItemBar

Enumerator
NCSN_ITEMBAR_CHECKED 

Identifies the control with NCSS_ITEMBAR_CHECKABLE style, selection status changes.

Definition at line 151 of file mitembar.h.

◆ mItemBarProp

the properties id of mItemBar

Enumerator
NCSP_ITEMBAR_CHECKED 

Identify with NCSS_ITEMBAR_CHECKABLE style controls, is selecte.

NCSP_ITEMBAR_IMG 

Displayed as icons with a picture.

NCSP_ITEMBAR_MARGIN 

Both ends of the blank size.

Definition at line 137 of file mitembar.h.

Variable Documentation

◆ g_stmItemBarCls

g_stmItemBarCls

global mItemBarClass