mirror of
https://github.com/LHY0125/PathEditor.git
synced 2026-05-09 18:02:52 +08:00
39d06e20e0
- 将单一列表拆分为系统和用户变量两个标签页 - 新增搜索框支持实时过滤路径 - 支持拖拽文件夹直接添加到列表 - 新增一键清理功能移除无效和重复路径 - 增加注册表备份机制和删除确认 - 优化界面布局和权限提示逻辑
30 lines
707 B
C
30 lines
707 B
C
#ifndef CALLBACKS_H
|
|
#define CALLBACKS_H
|
|
|
|
#include <iup.h>
|
|
|
|
// 按钮回调
|
|
int btn_new_cb(Ihandle *self);
|
|
int btn_edit_cb(Ihandle *self);
|
|
int btn_browse_cb(Ihandle *self);
|
|
int btn_del_cb(Ihandle *self);
|
|
int btn_up_cb(Ihandle *self);
|
|
int btn_down_cb(Ihandle *self);
|
|
int btn_clean_cb(Ihandle *self);
|
|
int btn_ok_cb(Ihandle *self);
|
|
int btn_cancel_cb(Ihandle *self);
|
|
int btn_help_cb(Ihandle *self);
|
|
|
|
// 搜索回调
|
|
int txt_search_cb(Ihandle *self);
|
|
|
|
// 双击回调
|
|
int list_dblclick_cb(Ihandle *self, int item, char *text);
|
|
|
|
// 拖拽回调
|
|
int list_dropfiles_cb(Ihandle *self, const char *filename, int num, int x, int y);
|
|
|
|
// 键盘按键回调
|
|
int list_k_any_cb(Ihandle *self, int c);
|
|
|
|
#endif // CALLBACKS_H
|