mirror of
https://github.com/LHY0125/PathEditor.git
synced 2026-05-10 02:09:46 +08:00
b35fac5358
- 将 callbacks.c 拆分为 cb_edit.c、cb_file.c、cb_main.c 三个模块,提高代码可维护性 - 新增 ui_utils.c 提供通用 UI 辅助函数 - 新增历史记录功能(撤销/重做)和主题切换支持 - 增加合并预览标签页,优化路径有效性检查和环境变量展开 - 更新 Makefile 以支持新的源文件结构
18 lines
475 B
C
18 lines
475 B
C
#ifndef CB_MAIN_H
|
|
#define CB_MAIN_H
|
|
|
|
#include <iup.h>
|
|
|
|
// 主界面交互回调
|
|
int txt_search_cb(Ihandle *self);
|
|
int list_k_any_cb(Ihandle *self, int c);
|
|
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);
|
|
int btn_help_cb(Ihandle *self);
|
|
int tabs_tabchange_cb(Ihandle *self, int new_pos, int old_pos);
|
|
int btn_theme_cb(Ihandle *self);
|
|
|
|
#endif // CB_MAIN_H
|