mirror of
https://github.com/LHY0125/PathEditor.git
synced 2026-05-10 18:52:46 +08:00
refactor: 将IUP控件从IupMatrix迁移到IupFlatList
简化代码结构并移除对iupcontrols库的依赖。主要变更包括: - 用IupFlatList替换IupMatrix,简化列表操作API - 移除iupcontrols.dll和iupimglib.dll依赖,减少部署文件大小 - 更新CMake配置和安装脚本以匹配新的依赖关系 - 重写列表操作函数以使用IupFlatList的API(VALUE、COUNT等属性) - 调整回调函数签名以匹配新控件的事件参数 - 简化UI创建代码,移除不再需要的图标和属性设置
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
#include <iup.h>
|
||||
#include <iupcontrols.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include "globals.h"
|
||||
@@ -26,10 +25,6 @@ int main(int argc, char **argv)
|
||||
return 1;
|
||||
}
|
||||
|
||||
// 初始化扩展库
|
||||
IupImageLibOpen();
|
||||
IupControlsOpen();
|
||||
|
||||
// 开启 UTF-8 支持
|
||||
IupSetGlobal("UTF8MODE", "YES");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user