mirror of
https://github.com/LHY0125/PathEditor.git
synced 2026-05-10 02:09:46 +08:00
6a22202ce5
- 删除旧版iup-3.31_Win64_dllw6_lib目录及其所有二进制文件 - 将IUP和CD库重新组织为独立目录结构,包含头文件和静态库 - 更新CMakeLists.txt以链接新的静态库(iupcontrols、iupimglib、cd等) - 修改main.c以显式初始化IupControls和IupImageLib扩展库 - 更新回调函数签名以匹配IUP Matrix控件的实际参数 - 调整UI工具函数以使用Matrix控件的属性(MARKED、NUMLIN等) - 更新安装脚本仅复制实际依赖的DLL文件 - 添加所有缺失的IUP和CD头文件以支持完整功能
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
|