image.h

来自「这是ARM嵌入式系统的实验教程中的MINIGUI的实验源代码!」· C头文件 代码 · 共 43 行

H
43
字号
#ifndef __IMAGE_H__#define __IMAGE_H__/* The DilloImage data-structure and methods */#include <glib.h>#include "dw_image.h"typedef struct _DilloImage DilloImage;struct _DilloImage {   DwImage *dw;   /* Parameters as told by image data */   guint width;   guint height;   gint32 bg_color;        /* Background color */   gint RefCount;          /* Reference counter */};/* * Function prototypes */DilloImage *a_Image_new(gint width, gint height, const char *tooltip,                        const char *alt_text, gint32 bg_color);void a_Image_ref(DilloImage *Image);void a_Image_unref(DilloImage *Image);#if 0void a_Image_set_parms(DilloImage *Image, guchar *EntryBuf, DilloUrl *url,                       gint version, guint width, guint height,                       DilloImgType type);void a_Image_set_cmap(DilloImage *Image, const guchar *cmap);void a_Image_write(DilloImage *Image, const guchar *buf, guint y, gint decode);void a_Image_close(DilloImage *Image);#endif#endif /* __IMAGE_H__ */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?