37 lines
724 B
C
37 lines
724 B
C
|
/** \file
|
||
|
* \brief Utilities using IM
|
||
|
*
|
||
|
* See Copyright Notice in "iup.h"
|
||
|
*/
|
||
|
|
||
|
#ifndef __IUPIM_H
|
||
|
#define __IUPIM_H
|
||
|
|
||
|
#if defined(__cplusplus)
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
|
||
|
void IupImOpen(void); /* optional */
|
||
|
|
||
|
Ihandle* IupLoadImage(const char* filename);
|
||
|
int IupSaveImage(Ihandle* ih, const char* filename, const char* format);
|
||
|
|
||
|
Ihandle* IupLoadAnimation(const char* filename);
|
||
|
Ihandle* IupLoadAnimationFrames(const char** filename_list, int file_count);
|
||
|
|
||
|
#ifdef __IM_IMAGE_H
|
||
|
imImage* IupGetNativeHandleImage(void* handle);
|
||
|
void* IupGetImageNativeHandle(const imImage* image);
|
||
|
|
||
|
Ihandle* IupImageFromImImage(const imImage* image);
|
||
|
imImage* IupImageToImImage(Ihandle* iup_image);
|
||
|
#endif
|
||
|
|
||
|
|
||
|
#if defined(__cplusplus)
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
#endif
|