11 Commits

Author SHA1 Message Date
waynebian01
232fa91aa2 Add SpellFieldKey class for managing spell and aura keys
- Introduced a new class `SpellFieldKey` to encapsulate constants and methods related to spell and aura identifiers.
- Added methods for generating keys for spells and auras, including parsing functionality for spell and aura strings.
- Implemented utility methods for stripping prefixes and canonicalizing aura IDs.
2026-08-30 10:22:51 +08:00
waynebian01
ab4a5b25b3 Refactor ComboBox to UiDropDown and enhance styling
- Replaced instances of ComboBox with a custom UiDropDown control in UnitEditorForm.
- Updated the StyleComboBox method to accept UiDropDown instead of ComboBox.
- Introduced UiDropDown class to provide a unified dark-themed dropdown control.
- Implemented custom drawing for dropdown items and buttons to improve UI consistency.
- Added functionality for handling dropdown item selection and display.
2026-08-28 17:57:50 +08:00
waynebian01
6f4163cf89 优化单位编辑器窗口大小的保存与恢复逻辑,调整相关UI组件属性 2026-08-28 15:37:33 +08:00
waynebian01
da2eeb3b39 Refactor UI components for improved theming and accessibility
- Updated UiCardPanel to use UiTheme.CardCornerRadius for consistent corner styling.
- Modified UiPillTab to enable TabStop and set AccessibleRole to PageTab, enhancing keyboard navigation.
- Implemented keyboard handling in UiPillTab for Enter and Space keys to trigger click events.
- Enhanced focus visuals in UiPillTab with focus rectangle drawing.
- Introduced new constants in UiTheme for CardPadding, PageGap, ActionButtonHeight, GridRowHeight, TabBarHeight, CardCornerRadius, and ControlCornerRadius for better layout management.
- Updated UnitEditorForm to utilize new theming constants and improved layout with UiCardPanel for better visual structure.
- Refined action button styling in UnitEditorForm for consistent button sizes and margins.
- Adjusted labeled row height in UnitEditorForm for better alignment.
2026-08-25 15:58:44 +08:00
waynebian01
f37df2e7b8 更新版本号至 1.2.1.8,添加不带光环的单位选择功能及相关逻辑 2026-08-20 13:31:20 +08:00
waynebian01
298c31d58e 修正驱散类型选项的顺序,将“疾病”和“诅咒”位置互换 2026-08-16 01:45:44 +08:00
waynebian01
be8f97eca8 feat: 更新模块目录和缓存路径,添加职责筛选功能 2026-08-15 16:14:15 +08:00
waynebian01
b7dbe1e5a6 feat: update warrior keymap and add priest keymap with new skills and hotkeys
- Modified warrior keymap to change the unit for "拳击" and ensure proper formatting.
- Introduced a new ReservedUnit class to manage reserved units and their display names.
- Added a comprehensive priest keymap with multiple skills and corresponding hotkeys, enhancing gameplay functionality.
2026-07-30 01:32:16 +08:00
waynebian01
c29a59e22c CC改进13 2026-06-15 16:21:33 +08:00
waynebian01
7c05dc0245 改进12 2026-06-15 15:36:41 +08:00
waynebian01
82333279a8 整合文件夹 2026-06-14 01:13:58 +08:00