mirror of
https://github.com/LHY0125/PathEditor.git
synced 2026-05-10 02:09:46 +08:00
13e683e7fd
- 基于 IUP GUI 库开发 Windows 环境变量编辑器 - 实现 PATH 变量的加载、编辑、保存功能 - 提供新建、编辑、浏览、删除、上下移动路径等操作 - 添加管理员权限检查,确保系统变量修改权限 - 包含完整的项目构建配置(Makefile)和依赖库
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
|