mirror of
https://github.com/LHY0125/PathEditor.git
synced 2026-05-10 02:09:46 +08:00
13e683e7fd
- 基于 IUP GUI 库开发 Windows 环境变量编辑器 - 实现 PATH 变量的加载、编辑、保存功能 - 提供新建、编辑、浏览、删除、上下移动路径等操作 - 添加管理员权限检查,确保系统变量修改权限 - 包含完整的项目构建配置(Makefile)和依赖库
48 lines
1.1 KiB
C
48 lines
1.1 KiB
C
/** \file
|
|
* \brief GL Controls.
|
|
*
|
|
* See Copyright Notice in "iup.h"
|
|
*/
|
|
|
|
#ifndef __IUPGLCONTROLS_H
|
|
#define __IUPGLCONTROLS_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
|
|
int IupGLControlsOpen(void);
|
|
|
|
Ihandle* IupGLCanvasBoxv(Ihandle** children);
|
|
Ihandle* IupGLCanvasBox(Ihandle* child, ...);
|
|
|
|
Ihandle* IupGLSubCanvas(void);
|
|
|
|
Ihandle* IupGLLabel(const char* title);
|
|
Ihandle* IupGLSeparator(void);
|
|
Ihandle* IupGLButton(const char* title);
|
|
Ihandle* IupGLToggle(const char* title);
|
|
Ihandle* IupGLLink(const char *url, const char * title);
|
|
Ihandle* IupGLProgressBar(void);
|
|
Ihandle* IupGLVal(void);
|
|
Ihandle* IupGLFrame(Ihandle* child);
|
|
Ihandle* IupGLExpander(Ihandle* child);
|
|
Ihandle* IupGLScrollBox(Ihandle* child);
|
|
Ihandle* IupGLSizeBox(Ihandle* child);
|
|
Ihandle* IupGLText(void);
|
|
|
|
|
|
/* Utilities */
|
|
void IupGLDrawImage(Ihandle* ih, const char* name, int x, int y, int active);
|
|
void IupGLDrawText(Ihandle* ih, const char* str, int len, int x, int y);
|
|
void IupGLDrawGetTextSize(Ihandle* ih, const char* str, int *w, int *h);
|
|
void IupGLDrawGetImageInfo(const char* name, int *w, int *h, int *bpp);
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|