mGNCS API Reference  v1.5.0
A new control set and a new framework for MiniGUI apps
Macros | Enumerations | Variables
mscroll_widget.h File Reference

Go to the source code of this file.

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...
 

Detailed Description

Author
XiaoweiYan
Date
2009/02/24

This file includes the definition of ScrollWidget.

   This file is part of mGNCS, a component for MiniGUI.

   Copyright (C) 2008~2018, Beijing FMSoft Technologies Co., Ltd.

   This program is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation, either version 3 of the License, or
   (at your option) any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program.  If not, see <http://www.gnu.org/licenses/>.

   Or,

   As this program is a library, any link to this program must follow
   GNU General Public License version 3 (GPLv3). If you cannot accept
   GPLv3, you need to be licensed from FMSoft.

   If you have got a commercial license of this program, please use it
   under the terms and conditions of the commercial license.

   For more information about the commercial license, please refer to
   <http://www.minigui.com/blog/minigui-licensing-policy/>.

Definition in file mscroll_widget.h.