refactor: 提取UI组件到独立模块并改进拖拽支持

- 将列表、按钮等UI创建代码从main.c移至ui.c/ui.h
- 添加Windows UIPI消息过滤以支持管理员模式下的文件拖拽
- 更新Makefile和构建脚本以包含新的UI模块
- 清理旧的备份注册表文件并更新README文档
This commit is contained in:
2026-03-16 20:15:10 +08:00
parent 39d06e20e0
commit 575fcca5c4
13 changed files with 193 additions and 85 deletions
+15
View File
@@ -0,0 +1,15 @@
#ifndef UI_H
#define UI_H
#include <iup.h>
// 创建列表控件
Ihandle *create_path_list();
// 创建右侧功能按钮区域
Ihandle *create_main_buttons();
// 创建底部按钮区域
Ihandle *create_bottom_buttons();
#endif // UI_H