mirror of
https://github.com/LHY0125/PathEditor.git
synced 2026-05-09 18:02:52 +08:00
feat: 为只读模式添加专用应用程序标题
在非管理员权限下运行时,将对话框标题从硬编码字符串改为使用配置文件中定义的 APP_NAME_READONLY 宏。这提高了代码的可维护性和一致性,使标题文本集中管理,便于未来修改。
This commit is contained in:
+2
-1
@@ -6,7 +6,8 @@
|
||||
// ============================================================================
|
||||
|
||||
// 应用程序名称
|
||||
#define APP_NAME "PathEditor" // 应用程序名称
|
||||
#define APP_NAME "PathEditor" // 编辑环境变量应用程序名称
|
||||
#define APP_NAME_READONLY "PathEditor (只读模式)" // 编辑环境变量只读模式标题
|
||||
|
||||
// 对话框设置
|
||||
#define UI_DLG_SIZE "800x800" // 对话框默认大小 (像素)
|
||||
|
||||
Reference in New Issue
Block a user