mGNCS API Reference  v1.5.0
A new control set and a new framework for MiniGUI apps
Data Structures | Macros | Typedefs | Enumerations | Variables
mItemManager

Data Structures

struct  mItemManager
 The structure of mItemManager control, which derived from mItem. It is the abstract superclass of all classes which managers items. More...
 
struct  mItemManagerClass
 The virtual function table of mItemManager, which derived from mItemClass. More...
 

Macros

#define NCSF_ITMMNG_AUTOSORT   (0x01<<NCSF_ITEM_SHIFT)
 Sort items automatically. More...
 
#define NCSF_ITMMNG_FROZEN   (0x02<<NCSF_ITEM_SHIFT)
 Allow manager to refresh items or not. More...
 
#define NCSF_ITMMNG_SHIFT   (NCSF_ITEM_SHIFT+2)
 The bits used by mItemManager in flags. More...
 

Typedefs

typedef int(* NCS_CB_CMPITEM) (mItemManager *manager, HITEM hItem1, HITEM hItem2)
 The callback of item compare function. More...
 

Enumerations

enum  mItemManagerProp { NCSP_ITMMNG_FLAGS = NCSP_ITEM_FLAGS, NCSP_ITMMNG_ITEMCOUNT = NCSP_ITEM_MAX + 1, NCSP_ITMMNG_TOTALHEIGHT, NCSP_ITMMNG_MAX }
 The properties id of mItemManager. More...
 

Variables

MGNCS_EXPORT mItemManagerClass g_stmItemManagerCls
 The instance of mItemManagerClass. More...
 

Detailed Description

Macro Definition Documentation

◆ NCSF_ITMMNG_AUTOSORT

#define NCSF_ITMMNG_AUTOSORT   (0x01<<NCSF_ITEM_SHIFT)

Sort items automatically.

Definition at line 92 of file mitem_manager.h.

◆ NCSF_ITMMNG_FROZEN

#define NCSF_ITMMNG_FROZEN   (0x02<<NCSF_ITEM_SHIFT)

Allow manager to refresh items or not.

Definition at line 98 of file mitem_manager.h.

◆ NCSF_ITMMNG_SHIFT

#define NCSF_ITMMNG_SHIFT   (NCSF_ITEM_SHIFT+2)

The bits used by mItemManager in flags.

Definition at line 104 of file mitem_manager.h.

Typedef Documentation

◆ NCS_CB_CMPITEM

typedef int(* NCS_CB_CMPITEM)(mItemManager *manager, HITEM hItem1, HITEM hItem2)

The callback of item compare function.

Definition at line 74 of file mitem_manager.h.

Enumeration Type Documentation

◆ mItemManagerProp

The properties id of mItemManager.

Enumerator
NCSP_ITMMNG_FLAGS 

The flags of item manager.

NCSP_ITMMNG_ITEMCOUNT 

The number of items. Read only.

NCSP_ITMMNG_TOTALHEIGHT 

The total height. Read only.

NCSP_ITMMNG_MAX 

The maximum value of mItemManager properties id.

Definition at line 432 of file mitem_manager.h.

Variable Documentation

◆ g_stmItemManagerCls

g_stmItemManagerCls

The instance of mItemManagerClass.

See also
mItemManagerClass