mirror of
https://github.com/LHY0125/PathEditor.git
synced 2026-05-10 02:09:46 +08:00
refactor: 将应用程序名称提取为配置常量
- 在 config.h 中定义 APP_NAME 常量,提高可维护性 - 将 main.c 中的对话框标题硬编码替换为使用 APP_NAME
This commit is contained in:
@@ -5,6 +5,9 @@
|
||||
// UI的配置常量
|
||||
// ============================================================================
|
||||
|
||||
// 应用程序名称
|
||||
#define APP_NAME "PathEditor" // 应用程序名称
|
||||
|
||||
// 对话框设置
|
||||
#define UI_DLG_SIZE "800x800" // 对话框默认大小 (像素)
|
||||
#define UI_DLG_MINSIZE "800x800" // 对话框最小大小 (像素)
|
||||
|
||||
Reference in New Issue
Block a user