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

Data Structures

struct  mScrollWidget
 The structure of mScrollWidget control, which derived from mWidget. It is the abstract superclass of all classes which represent controls that have standard scroll bars. More...
 
struct  mScrollWidgetClass
 The virtual function table of mScrollWidget, which derived from mWidgetClass. More...
 
struct  mScrollWidgetRenderer
 The structure of mScrollWidget renderer, which inheried from mWidgetRenderer. More...
 

Macros

#define NCSCTRL_SCROLLWIDGET   NCSCLASSNAME("scrollwidget")
 the name of mScrollWidget control More...
 
#define NCSS_SWGT_SHIFT   NCSS_WIDGET_SHIFT
 The bits used by mScrollWidget in style. More...
 

Enumerations

Variables

MGNCS_EXPORT mScrollWidgetClass g_stmScrollWidgetCls
 The instance of mScrollWidgetClass. More...
 

Detailed Description

Macro Definition Documentation

#define NCSCTRL_SCROLLWIDGET   NCSCLASSNAME("scrollwidget")

the name of mScrollWidget control

Definition at line 60 of file mscroll_widget.h.

#define NCSS_SWGT_SHIFT   NCSS_WIDGET_SHIFT

The bits used by mScrollWidget in style.

Definition at line 317 of file mscroll_widget.h.

Enumeration Type Documentation

The notification code id of mScrollWidget.

Enumerator
NCSN_SWGT_MAX 

The maximum value of mScrollWidget notification code id.

Definition at line 323 of file mscroll_widget.h.

The properties id of mScrollWidget.

Enumerator
NCSP_SWGT_CONTWIDTH 

The content width.

NCSP_SWGT_CONTHEIGHT 

The content height.

NCSP_SWGT_CONTX 

The x coordination of current content.

NCSP_SWGT_CONTY 

The y coordination of current content.

NCSP_SWGT_HSTEPVALUE 

The horizontal step value.

NCSP_SWGT_VSTEPVALUE 

The vertical step value.

NCSP_SWGT_VISWIDTH 

The visual width of content.

NCSP_SWGT_VISHEIGHT 

The visual height of content.

NCSP_SWGT_MARGINRECT 

The rectangle information of margins.

NCSP_SWGT_DRAWMODE 

The scrollbar drawing mode.

NCSP_SWGT_MAX 

The maximum value of mScrollWidget properties id.

Definition at line 265 of file mscroll_widget.h.

Scroll bar drawing mode in ScrollWidget.

Enumerator
NCSID_SWGT_AUTO 

The scroll bar is shown or hidded automatically.

NCSID_SWGT_ALWAYS 

The scroll bar is always visible.

NCSID_SWGT_NEVER 

The scroll bar is never visbile.

Definition at line 70 of file mscroll_widget.h.

Variable Documentation

g_stmScrollWidgetCls

The instance of mScrollWidgetClass.

See also
mScrollWidgetClass