mGNCS API Reference
v1.2.5
A new control set and a new framework for MiniGUI apps
|
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 | |
enum | ncsSwgtDrawMode { NCSID_SWGT_AUTO = 0, NCSID_SWGT_ALWAYS, NCSID_SWGT_NEVER } |
Scroll bar drawing mode in ScrollWidget. More... | |
enum | mScrollWidgetProp { NCSP_SWGT_CONTWIDTH = NCSP_WIDGET_MAX + 1, NCSP_SWGT_CONTHEIGHT, NCSP_SWGT_CONTX, NCSP_SWGT_CONTY, NCSP_SWGT_HSTEPVALUE, NCSP_SWGT_VSTEPVALUE, NCSP_SWGT_VISWIDTH, NCSP_SWGT_VISHEIGHT, NCSP_SWGT_MARGINRECT, NCSP_SWGT_DRAWMODE, NCSP_SWGT_MAX } |
The properties id of mScrollWidget. More... | |
enum | mScrollWidgetNotify { NCSN_SWGT_MAX = NCSN_WIDGET_MAX + 1 } |
The notification code id of mScrollWidget. More... | |
Variables | |
MGNCS_EXPORT mScrollWidgetClass | g_stmScrollWidgetCls |
The instance of mScrollWidgetClass. More... | |
#define NCSCTRL_SCROLLWIDGET NCSCLASSNAME("scrollwidget") |
the name of mScrollWidget control
Definition at line 72 of file mscroll_widget.h.
#define NCSS_SWGT_SHIFT NCSS_WIDGET_SHIFT |
The bits used by mScrollWidget in style.
Definition at line 329 of file mscroll_widget.h.
enum mScrollWidgetNotify |
The notification code id of mScrollWidget.
Enumerator | |
---|---|
NCSN_SWGT_MAX | The maximum value of mScrollWidget notification code id. |
Definition at line 335 of file mscroll_widget.h.
enum mScrollWidgetProp |
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 277 of file mscroll_widget.h.
enum ncsSwgtDrawMode |
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 82 of file mscroll_widget.h.
g_stmScrollWidgetCls |
The instance of mScrollWidgetClass.