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

Data Structures

struct  mImage
 static control can show a image, derived from mStatic More...
 
struct  mImageClass
 ImageClass struct of image control, derived from mStaticClass. More...
 
struct  mImageRenderer
 image class renderer interface, derived from mStaticRenderer More...
 

Macros

#define NCSCTRL_IMAGE   NCSCLASSNAME("image")
 the name of image control More...
 

Enumerations

Variables

MGNCS_EXPORT mImageClass g_stmImageCls
 global mImageClass More...
 

Detailed Description

Macro Definition Documentation

#define NCSCTRL_IMAGE   NCSCLASSNAME("image")

the name of image control

Definition at line 60 of file mimage.h.

Enumeration Type Documentation

the notification code of mImage

Definition at line 148 of file mimage.h.

enum mImageProp

the properties id of mImage

Enumerator
NCSP_IMAGE_IMAGE 

Set the image content.

  • Type PBITMAP
  • Read Write
  • set the pointer to image content
NCSP_IMAGE_IMAGEFILE 

Set the image content.

  • Type char*
  • Read Write
  • set the image file name pointer
NCSP_IMAGE_DRAWMODE 

Set image draw mode.

  • Type enumNCSImageDrawMode
  • Read Write
  • set the image draw mode to NCS_DM_NORMAL/NCS_DM_SCALED/NCS_DM_TILED

Definition at line 114 of file mimage.h.

Variable Documentation

g_stmImageCls

global mImageClass