feat: 增加双击编辑功能并调整按钮尺寸

- 为列表添加双击回调,双击项目可触发编辑对话框
- 实现自定义输入对话框以支持更宽的编辑区域
- 统一增大所有按钮尺寸至100x32像素
- 移除临时备份文件
This commit is contained in:
2026-03-16 17:53:38 +08:00
parent fd9dca924a
commit 2746b5674e
4 changed files with 171 additions and 73 deletions
+4
View File
@@ -3,6 +3,7 @@
#include <iup.h>
// 按钮回调
int btn_new_cb(Ihandle* self);
int btn_edit_cb(Ihandle* self);
int btn_browse_cb(Ihandle* self);
@@ -13,4 +14,7 @@ int btn_ok_cb(Ihandle* self);
int btn_cancel_cb(Ihandle* self);
int btn_help_cb(Ihandle* self);
// 双击回调
int list_dblclick_cb(Ihandle* self, int item, char* text);
#endif // CALLBACKS_H