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

Data Structures

struct  NCS_LSTCLM_SORTDATA
 The sort type. More...
 
struct  mListColumn
 The structure of mListColumn. It's used as header by mListView. More...
 
struct  mListColumnClass
 The virtual function table of mListColumn, which derived from mItemClass. More...
 

Macros

#define NCSF_LSTCLM_LEFTALIGN   (0x00<<NCSF_ITEM_SHIFT)
 Horizontal left align. More...
 
#define NCSF_LSTCLM_RIGHTALIGN   (0x01<<NCSF_ITEM_SHIFT)
 Horizontal right align. More...
 
#define NCSF_LSTCLM_CENTERALIGN   (0x02<<NCSF_ITEM_SHIFT)
 Horizontal center align. More...
 
#define NCSF_LSTCLM_TOPALIGN   (0x00<<NCSF_ITEM_SHIFT)
 Vertical top align. More...
 
#define NCSF_LSTCLM_BOTTOMALIGN   (0x04<<NCSF_ITEM_SHIFT)
 Vertical bottom align. More...
 
#define NCSF_LSTCLM_VCENTERALIGN   (0x08<<NCSF_ITEM_SHIFT)
 Vertical center align. More...
 
#define NCSF_LSTCLM_VALIGNMASK   (0x0C<<NCSF_ITEM_SHIFT)
 The mask of vertical align. More...
 
#define NCSF_LSTCLM_SHIFT   (NCSF_ITEM_SHIFT+4)
 The bits used by mListColumn in flags. More...
 

Typedefs

typedef int(* NCS_CB_LISTV_CMPCLM) (HITEM nItem1, HITEM nItem2, NCS_LSTCLM_SORTDATA *sortData)
 The callback of comparison column function. More...
 

Enumerations

Variables

MGNCS_EXPORT mListColumnClass g_stmListColumnCls
 The instance of mListColumnClass. More...
 

Detailed Description

Macro Definition Documentation

#define NCSF_LSTCLM_BOTTOMALIGN   (0x04<<NCSF_ITEM_SHIFT)

Vertical bottom align.

Definition at line 138 of file mlistcolumn.h.

#define NCSF_LSTCLM_CENTERALIGN   (0x02<<NCSF_ITEM_SHIFT)

Horizontal center align.

Definition at line 126 of file mlistcolumn.h.

#define NCSF_LSTCLM_LEFTALIGN   (0x00<<NCSF_ITEM_SHIFT)

Horizontal left align.

Definition at line 114 of file mlistcolumn.h.

#define NCSF_LSTCLM_RIGHTALIGN   (0x01<<NCSF_ITEM_SHIFT)

Horizontal right align.

Definition at line 120 of file mlistcolumn.h.

#define NCSF_LSTCLM_SHIFT   (NCSF_ITEM_SHIFT+4)

The bits used by mListColumn in flags.

Definition at line 156 of file mlistcolumn.h.

#define NCSF_LSTCLM_TOPALIGN   (0x00<<NCSF_ITEM_SHIFT)

Vertical top align.

Definition at line 132 of file mlistcolumn.h.

#define NCSF_LSTCLM_VALIGNMASK   (0x0C<<NCSF_ITEM_SHIFT)

The mask of vertical align.

Definition at line 150 of file mlistcolumn.h.

#define NCSF_LSTCLM_VCENTERALIGN   (0x08<<NCSF_ITEM_SHIFT)

Vertical center align.

Definition at line 144 of file mlistcolumn.h.

Typedef Documentation

typedef int(* NCS_CB_LISTV_CMPCLM)(HITEM nItem1, HITEM nItem2, NCS_LSTCLM_SORTDATA *sortData)

The callback of comparison column function.

Definition at line 108 of file mlistcolumn.h.

Enumeration Type Documentation

The properties id of mListColumn.

Enumerator
NCSP_LSTCLM_POSX 

The start x coordination.

NCSP_LSTCLM_WIDTH 

The column width.

NCSP_LSTCLM_SORTTYPE 

The sort type.

NCSP_LSTCLM_CMPFUNC 

The comparison function.

NCSP_LSTCLM_MAX 

The maximum value of ListColumn properties id.

Definition at line 203 of file mlistcolumn.h.

The sort type.

Enumerator
NCSID_LSTCLM_NOTSORTED 

No sort.

NCSID_LSTCLM_HISORTED 

Sort ascending.

NCSID_LSTCLM_LOSORTED 

Sort descending.

Definition at line 62 of file mlistcolumn.h.

Variable Documentation

g_stmListColumnCls

The instance of mListColumnClass.

See also
mListColumnClass