18 Commits

Author SHA1 Message Date
Cursor Agent
aa3f0d79a5 保存宏时同步写入该职业模块依赖快照
宏页保存原先只更新 keymap 和插件,模块快照仍停留在旧宏。改为走与配置页相同的回调,按当前职业捕获并保存模块。

Co-authored-by: Wayne-Arasaka <waynebian01@users.noreply.github.com>
2026-09-01 13:36:31 +00:00
waynebian01
ccd670dfb5 更新版本号至 1.2.1.19,优化 README 文档中的功能描述,增强用户对技能和物品图标数据包的理解。添加对物品 ID 的支持,改进状态管理和条件字段显示,确保用户界面信息展示更加清晰。 2026-09-01 17:05:20 +08:00
waynebian01
dcd5542df0 优化特殊宏的注释管理,确保技能名由用户手动填写并固定为无目标、无宏条件;更新相关文档和界面显示。 2026-09-01 13:24:19 +08:00
waynebian01
698e19dd19 Update version to 1.2.1.13 and enhance spell suggestion functionality
- Updated version numbers in Fuyutsui.toc and Shigure.csproj to 1.2.1.13.
- Added a HashSet to track deleted spell IDs in ClassBlocksStore.
- Enhanced spell list entry updates to handle deleted spells.
- Implemented spell suggestion dropdown in ClassConfigEditorControl.
- Added methods for searching and displaying spell suggestions in SpellIconCatalog.
- Improved UI layout in ClassConfigEditorControl and ClassMacrosEditorControl.
- Introduced automatic configuration updates when the target game process is detected.
2026-08-28 18:44:11 +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
e1bebefe06 添加列宽缓存功能,支持在多个 UI 控件中保存和恢复列宽设置 2026-08-22 15:08:37 +08:00
waynebian01
99300fb702 feat: Implement module dependency management and unsaved changes tracking
- Added `HasUnsavedChanges` property to `ClassConfigEditorControl` and `ClassMacrosEditorControl` to track unsaved changes.
- Introduced `ModuleDependencyService` for handling module dependencies, including capturing and importing configurations and macros.
- Implemented atomic file writing in `AtomicFile` to ensure safe file operations.
- Enhanced `MainForm` to check for unsaved changes before importing module dependencies and added feedback mechanisms for users.
- Updated `ModuleEditorControl` to support dependency capturing and module reloading.
- Created data structures for module dependency snapshots, configurations, and macros.
- Improved error handling and user notifications during module import processes.
2026-08-14 17:36:45 +08:00
waynebian01
993f596bb1 Refactor ModuleEditorControl and StatusForm for improved UI consistency and functionality
- Updated ModuleEditorControl to utilize UiCardPanel for sidebar and footer layouts, enhancing visual coherence.
- Introduced UiPillTab for tab navigation, providing a more modern and responsive design.
- Adjusted padding, margins, and background colors across various controls for a cleaner appearance.
- Implemented new methods for handling button styles and actions, including a new OpenModuleFolder method for better user experience.
- Refined StatusForm layout, integrating UiCardPanel for information display and adjusting component arrangements for clarity.
- Removed redundant graphics path creation methods, centralizing functionality in UiTheme.
- Enhanced overall code readability and maintainability through consistent styling and structure.
2026-08-11 01:53:06 +08:00
waynebian01
6df48157d3 Enhance UI Theme and Add UiCardPanel Component
- Updated color definitions in UiTheme.cs for improved UI aesthetics.
- Introduced ButtonKind enum for better button styling options.
- Added CreateButton method to streamline button creation with different styles.
- Improved item height calculations in various controls for better layout.
- Implemented ListColumn and ListColumnLayoutState for dynamic ListView column management.
- Added FitListViewColumns method to ensure ListView columns adjust properly to available space.
- Created UiCardPanel class for rounded card-like UI elements with custom painting.
2026-08-10 17:13:55 +08:00
waynebian01
bd830b8985 Add texture layout documentation for Fuyutsui in Chinese
- Introduced a new markdown file detailing the texture sorting mechanism for ClassBlocks.
- Explained the allocation of states, auras, spells, and group pixels, along with the independent layout of auxiliary bars.
- Provided a comprehensive overview of the output areas, sorting order, and pixel encoding.
- Included examples and guidelines for external reading and integration with existing systems.
2026-08-10 13:05:18 +08:00
waynebian01
a4f30f7349 feat: 更新宏条件和解析功能,增强 UI 表格对换行的支持 2026-08-08 23:30:47 +08:00
waynebian01
ef40fcc326 feat: 添加宏条件支持到 keymap,更新 priest.json 中的技能条目 2026-08-06 14:54:51 +08:00
waynebian01
5a00da85d5 Refactor and implement runtime session management
- Removed the UnitSelector class from UI and added a new UnitSelector class in Modules.
- Introduced RuntimeSessionCoordinator to manage runtime sessions, ensuring safe concurrent operations.
- Created ShigureRuntimeFactory to handle the creation of ShigureRuntime instances.
- Added WindowsTriggerKeyState and WindowsVirtualKeyMap for handling key states and virtual key mappings.
- Implemented IKeymapResolver interface for key mapping resolution.
- Established runtime dependencies with interfaces for screen scanning, state building, logic evaluation, and key output.
2026-08-06 01:17:28 +08:00
waynebian01
b91298e669 Refactor keymap service to support specialization selection, enhance pixel scanner error reporting, and improve UI for dynamic spec management
- Updated KeymapService to handle class and specialization selection, allowing for more granular hotkey management.
- Added MapVirtualKeyW method to NativeMethods for virtual key mapping.
- Enhanced ModuleLogic to include rate limiting and improved logging for rule execution.
- Introduced new reserved units for channeling states in ReservedUnit.
- Modified PixelScanner to return detailed failure reasons for window scanning issues.
- Updated RenderSnapshot to include scan failure reasons for better debugging.
- Enhanced ShigureRuntime to track scan failure reasons and log them appropriately.
- Improved ClassMacrosEditorControl to manage dynamic specialization selection and UI updates.
- Updated MainForm to log scan failure reasons and step details for better traceability.
- Adjusted StatusForm layout and watermark settings for improved visual presentation.
- Updated UI theme to support dynamic spec icons in list boxes.
- Changed configuration files to standardize enemy count terminology from "敌人人数" to "敌人数量".
2026-08-05 23:46:28 +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
3ecba771ad 优化界面 2026-07-29 17:24:46 +08:00
waynebian01
09ee3daa54 Refactor UI components in ClassConfigEditorControl and ClassMacrosEditorControl
- Updated button labels for saving configurations to be more concise.
- Adjusted layout of panels to improve UI structure and readability.
- Introduced new methods for creating DataGridView columns to reduce redundancy.
- Enhanced handling of dynamic and static macro entries, including improved row numbering and offset hints.
- Removed unnecessary UI elements and streamlined event handling for better performance.
- Improved localization support by ensuring state names are correctly categorized and hidden where necessary.
2026-07-28 23:24:00 +08:00
waynebian01
3c206fc86b 配置与宏 2026-07-28 20:31:34 +08:00