version 2.8
gwin_image.h File Reference

Detailed Description

GWIN image widget header file.

Definition in file gwin_image.h.

Go to the source code of this file.

Functions

GHandle gwinGImageCreate (GDisplay *g, GImageObject *widget, GWindowInit *pInit)
 Create an image widget. More...
 
bool_t gwinImageOpenGFile (GHandle gh, GFILE *f)
 Opens the image using a GFILE. More...
 
gdispImageError gwinImageCache (GHandle gh)
 Cache the image. More...
 

Macros

#define gwinImageOpenFile(gh, filename)   gwinImageOpenGFile((gh), gfileOpen((filename), "rb"))
 Opens the image using the specified filename. More...
 
#define gwinImageOpenMemory(gh, ptr)   gwinImageOpenGFile((gh), gfileOpenMemory((void *)(ptr), "rb"))
 Sets the input routines that support reading the image from memory in RAM or flash. More...
 
#define gwinImageOpenStream(gh, streamPtr)   gwinImageOpenGFile((gh), gfileOpenBaseFIleStream((streamPtr), "rb"))
 Sets the input routines that support reading the image from a BaseFileStream (eg. an SD-Card). More...