iup-stack/iup/srcglcontrols/iup_glimage.h

26 lines
424 B
C
Raw Permalink Normal View History

2023-02-20 16:44:45 +00:00
/** \file
* \brief GL Image functions.
*
* See Copyright Notice in "iup.h"
*/
#ifndef __IUP_GLIMAGE_H
#define __IUP_GLIMAGE_H
#ifdef __cplusplus
extern "C" {
#endif
void iupGLImageGetInfo(const char* name, int *w, int *h, int *bpp);
unsigned char* iupGLImageGetData(Ihandle* ih, int active);
void iupGLColorMakeInactive(unsigned char *r, unsigned char *g, unsigned char *b);
#ifdef __cplusplus
}
#endif
#endif