mirror of
https://github.com/LHY0125/PathEditor.git
synced 2026-05-10 02:09:46 +08:00
refactor: 提取UI组件到独立模块并改进拖拽支持
- 将列表、按钮等UI创建代码从main.c移至ui.c/ui.h - 添加Windows UIPI消息过滤以支持管理员模式下的文件拖拽 - 更新Makefile和构建脚本以包含新的UI模块 - 清理旧的备份注册表文件并更新README文档
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user