mirror of
https://github.com/LHY0125/PathEditor.git
synced 2026-05-10 02:09:46 +08:00
c92d20b4b3
简化代码结构并移除对iupcontrols库的依赖。主要变更包括: - 用IupFlatList替换IupMatrix,简化列表操作API - 移除iupcontrols.dll和iupimglib.dll依赖,减少部署文件大小 - 更新CMake配置和安装脚本以匹配新的依赖关系 - 重写列表操作函数以使用IupFlatList的API(VALUE、COUNT等属性) - 调整回调函数签名以匹配新控件的事件参数 - 简化UI创建代码,移除不再需要的图标和属性设置
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
|