mirror of
https://github.com/LHY0125/PathEditor.git
synced 2026-05-10 02:09: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
-2
@@ -6,8 +6,7 @@
|
||||
// 编辑相关回调
|
||||
int btn_new_cb(Ihandle *self);
|
||||
int btn_edit_cb(Ihandle *self);
|
||||
int list_dblclick_cb(Ihandle *self, int lin, int col, char *status);
|
||||
int matrix_edition_cb(Ihandle *self, int lin, int col, int mode, int update);
|
||||
int list_dblclick_cb(Ihandle *self, int item, char *text);
|
||||
int btn_del_cb(Ihandle *self);
|
||||
int btn_up_cb(Ihandle *self);
|
||||
int btn_down_cb(Ihandle *self);
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@
|
||||
// 主界面交互回调
|
||||
int txt_search_cb(Ihandle *self);
|
||||
int list_k_any_cb(Ihandle *self, int c);
|
||||
int list_motion_cb(Ihandle *self, int lin, int col);
|
||||
int list_motion_cb(Ihandle *self, int x, int y, char *status);
|
||||
int dialog_k_any_cb(Ihandle *self, int c);
|
||||
int btn_ok_cb(Ihandle *self);
|
||||
int btn_cancel_cb(Ihandle *self);
|
||||
|
||||
Reference in New Issue
Block a user