mirror of
https://github.com/LHY0125/PathEditor.git
synced 2026-05-10 02:09:46 +08:00
build: 重构IUP库依赖和项目结构
- 删除旧版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头文件以支持完整功能
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
/** \file
|
||||
* \brief Direct2D extra drivers.
|
||||
*
|
||||
* See Copyright Notice in cd.h
|
||||
*/
|
||||
|
||||
#ifndef __CD_DIRECT2D_H
|
||||
#define __CD_DIRECT2D_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
cdContext* cdContextDirect2DNativeWindow(void); /* already double buffered */
|
||||
cdContext* cdContextDirect2DImage(void); /* to draw on an image */
|
||||
cdContext* cdContextDirect2DImageRGB(void); /* to draw on an RGBA image */
|
||||
cdContext* cdContextDirect2DDBuffer(void); /* Not necessary, used to test image drawing */
|
||||
cdContext* cdContextDirect2DPrinter(void); /* NOT working */
|
||||
|
||||
#define CD_DIRECT2D_NATIVEWINDOW cdContextDirect2DNativeWindow()
|
||||
#define CD_DIRECT2D_IMAGE cdContextDirect2DImage()
|
||||
#define CD_DIRECT2D_IMAGERGB cdContextDirect2DImageRGB()
|
||||
#define CD_DIRECT2D_DBUFFER cdContextDirect2DDBuffer()
|
||||
#define CD_DIRECT2D_PRINTER cdContextDirect2DPrinter()
|
||||
|
||||
void cdInitDirect2D(void);
|
||||
void cdFinishDirect2D(void);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* ifndef __CD_DIRECT2D_H */
|
||||
Reference in New Issue
Block a user