mirror of
https://github.com/LHY0125/PathEditor.git
synced 2026-05-10 02:09:46 +08:00
a9339f9b9f
调整 config.h 中 UI_DLG_SIZE 宏定义的对齐格式以保持代码风格一致。 在 README.md 中新增“架构与二次开发”章节,说明项目的模块化设计和配置管理方式。
29 lines
726 B
C
29 lines
726 B
C
#ifndef CONFIG_H
|
|
#define CONFIG_H
|
|
|
|
// ============================================================================
|
|
// UI的配置常量
|
|
// ============================================================================
|
|
|
|
// 对话框设置
|
|
#define UI_DLG_SIZE "500x400"
|
|
|
|
// 列表控件设置
|
|
#define UI_LIST_ITEM_PADDING "5x5"
|
|
#define UI_LIST_BACKCOLOR "255 255 255"
|
|
|
|
// 按钮设置
|
|
#define UI_BTN_RASTERSIZE "100x32"
|
|
|
|
// 布局间隙和边距
|
|
#define UI_VBOX_GAP "5"
|
|
#define UI_VBOX_MARGIN "0x0"
|
|
#define UI_VBOX_ALL_MARGIN "10x10"
|
|
#define UI_VBOX_ALL_GAP "5"
|
|
|
|
#define UI_HBOX_GAP "10"
|
|
#define UI_HBOX_MARGIN "10x10"
|
|
#define UI_HBOX_ALIGNMENT "ACENTER"
|
|
|
|
#endif // CONFIG_H
|