Files
Serendipity c92d20b4b3 refactor: 将IUP控件从IupMatrix迁移到IupFlatList
简化代码结构并移除对iupcontrols库的依赖。主要变更包括:
- 用IupFlatList替换IupMatrix,简化列表操作API
- 移除iupcontrols.dll和iupimglib.dll依赖,减少部署文件大小
- 更新CMake配置和安装脚本以匹配新的依赖关系
- 重写列表操作函数以使用IupFlatList的API(VALUE、COUNT等属性)
- 调整回调函数签名以匹配新控件的事件参数
- 简化UI创建代码,移除不再需要的图标和属性设置
2026-03-19 20:03:29 +08:00

16 lines
346 B
C

#ifndef CB_EDIT_H
#define CB_EDIT_H
#include <iup.h>
// 编辑相关回调
int btn_new_cb(Ihandle *self);
int btn_edit_cb(Ihandle *self);
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);
int btn_clean_cb(Ihandle *self);
#endif // CB_EDIT_H