mGNCS API Reference  v1.2.0
A new control set and a new framework for MiniGUI apps
Data Structures | Macros | Enumerations | Functions | Variables
mAbstractList

Data Structures

struct  mAbstractList
 The structure of mAbstractList, which derived from mScrollWidget. It is the abstract superclass of all classes which represent controls that have nodes. More...
 
struct  mAbstractListClass
 The virtual function table of mAbstractList, which derived from mScrollWidgetClass. More...
 
struct  mAbstractListRenderer
 The structure of mAbstractList renderer, which inheried from mScrollWidgetRenderer. More...
 

Macros

#define NCSS_ASTLST_AUTOSORT   (0x0001<<NCSS_SWGT_SHIFT)
 Sort nodes automatically. More...
 
#define NCSS_ASTLST_SHIFT   (NCSS_SWGT_SHIFT+1)
 The bits used by mAbstractList in style. More...
 

Enumerations

Functions

mAbstractListmAbstractList_getControl (mNode *node)
 Get the associated control handle of the specified node. More...
 

Variables

MGNCS_EXPORT mAbstractListClass g_stmAbstractListCls
 The instance of mAbstractListClass. More...
 

Detailed Description

Macro Definition Documentation

#define NCSS_ASTLST_AUTOSORT   (0x0001<<NCSS_SWGT_SHIFT)

Sort nodes automatically.

Definition at line 71 of file mabstractlist.h.

#define NCSS_ASTLST_SHIFT   (NCSS_SWGT_SHIFT+1)

The bits used by mAbstractList in style.

Definition at line 77 of file mabstractlist.h.

Enumeration Type Documentation

The notification id of mAbstractList.

Enumerator
NCSN_ASTLST_MAX 

The maximum value of mAbstractList notification code id.

Definition at line 234 of file mabstractlist.h.

The properties id of mAbstractList.

Enumerator
NCSP_ASTLST_DEFNODEHEIGHT 

The default node height. It should be implemented by subclass.

NCSP_ASTLST_FONTSIZE 

The window font size. RO.

NCSP_ASTLST_AUTOSORT 

Whether the window sorts nodes automatically or not. RO.

NCSP_ASTLST_TRANSPARENT 

Whether the window is transparent or not. RO.

NCSP_ASTLST_CMPNODEFUNC 

The node comparision function. (NCS_CB_CMPNODE)

NCSP_ASTLST_ROOTNODE 

The root node. RO.

NCSP_ASTLST_MAX 

The maximum value of mAbstractList properties id.

Definition at line 246 of file mabstractlist.h.

Function Documentation

mAbstractList * mAbstractList_getControl ( mNode node)

Get the associated control handle of the specified node.

Parameters
nodeThe specified node.
Returns
The handle of associated control, otherwise NULL.

Variable Documentation

g_stmAbstractListCls

The instance of mAbstractListClass.

See also
mAbstractListClass