mGNCS API Reference  v1.2.0
A new control set and a new framework for MiniGUI apps
Macros | Typedefs | Enumerations | Functions | Variables
mnode.h File Reference

Go to the source code of this file.

Macros

#define NCSS_NODE_LTEXTRS   0x0000
 Image on the left and text on the right. default style. More...
 
#define NCSS_NODE_SMALLICON   0x0001
 Small icon mode. Show small icon in normal status, or enlarge icon in selected status. More...
 
#define NCSS_NODE_LTEXTBS   0x0002
 Large Icon mode. Image on the top and text on the bottom. More...
 
#define NCSS_NODE_TICTACTOEMIDLET   0x0004
 tictactoemidlet mode. Image includes normal and selected status. More...
 
#define NCSS_NODE_HIDETEXT   0x0010
 Don't show text. More...
 
#define NCSS_NODE_HIDEIMAGE   0x0020
 Don't show image. More...
 
#define NCSS_NODE_DISABLED   0x0040
 Disabled Node. More...
 
#define NCSS_NODE_SHIFT   7
 The bits used by mNode in style. More...
 

Typedefs

typedef int(* NCS_CB_CMPNODE) (mNode *node1, mNode *node2)
 The callback of node comparison function. More...
 

Enumerations

Functions

MGNCS_EXPORT mNodencsCreateNode (mObject *parent, const char *text, PBITMAP image, int height, int style, DWORD addData)
 Create a new node according to parameter information. More...
 
MGNCS_EXPORT mNodencsAddNode (mObject *parent, const char *text, PBITMAP image, int height, int style, DWORD addData)
 Create and add a new node to control according to parameter information. More...
 

Variables

MGNCS_EXPORT mNodeClass g_stmNodeCls
 The instance of mNodeClass. More...
 
MGNCS_EXPORT mGroupNodeClass g_stmGroupNodeCls
 The instance of mGroupNodeClass. More...
 

Detailed Description

Author
XiaoweiYan
Date
2009/11/10

This file includes the definition of mNode.

   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/en/about/licensing-policy/>.

Definition in file mnode.h.