mGNCS API Reference  v1.5.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

enum  mImageProp { NCSP_IMAGE_IMAGE = NCSP_STATIC_MAX + 1, NCSP_IMAGE_IMAGEFILE, NCSP_IMAGE_DRAWMODE }
 the properties id of mImage More...
 
enum  enumImageNotify
 the notification code of mImage More...
 

Variables

MGNCS_EXPORT mImageClass g_stmImageCls
 global mImageClass More...
 

Detailed Description

Macro Definition Documentation

◆ NCSCTRL_IMAGE

#define NCSCTRL_IMAGE   NCSCLASSNAME("image")

the name of image control

Definition at line 72 of file mimage.h.

Enumeration Type Documentation

◆ enumImageNotify

the notification code of mImage

Definition at line 160 of file mimage.h.

◆ mImageProp

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 126 of file mimage.h.

Variable Documentation

◆ g_stmImageCls

g_stmImageCls

global mImageClass