mirror of
https://github.com/LHY0125/PathEditor.git
synced 2026-05-10 02:09:46 +08:00
4fe7dc47e4
- 新增国际化系统,支持中英文切换 - 添加语言选择对话框和语言切换按钮回调 - 扩展配置系统以支持语言设置存储 - 创建语言文件目录结构和占位文件 - 更新主窗口支持UI文本动态刷新
13 lines
315 B
C
13 lines
315 B
C
#ifndef DIALOGS_H
|
|
#define DIALOGS_H
|
|
|
|
// 自定义输入对话框
|
|
// 返回值:0-取消,1-确认
|
|
int custom_input_dialog(const char *title, const char *label_text, char *buffer, int buffer_size);
|
|
|
|
// 语言选择对话框
|
|
// 返回值:0-取消,1-确认
|
|
int language_select_dialog(void);
|
|
|
|
#endif // DIALOGS_H
|