Commit Graph

34 Commits

Author SHA1 Message Date
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
708bb67dc1 Refactor Warlock and Warrior configuration files to enhance spell and ability tracking
- Updated spell and ability names for clarity and consistency in Warlock.json and Warrior.json.
- Renamed various attributes to include timing indicators (正计时 and 倒计时) for better tracking of spell casting.
- Adjusted step values for spells and abilities to maintain proper order after renaming.
- Added new attributes for focus spells and their interruptibility in both configuration files.
- Ensured all changes maintain compatibility with existing functionality while improving readability.
2026-08-24 17:28:24 +08:00
waynebian01
9d48c5adb4 添加首领单位支持,更新相关状态和施法逻辑,移除不必要的 EXBoss 文件,调整配置和文档 2026-08-24 16:07:54 +08:00
waynebian01
e913f6a690 移除不必要的救赎之魂光环槽,添加打断施法功能,更新相关配置和文档 2026-08-24 14:48:18 +08:00
waynebian01
e1bebefe06 添加列宽缓存功能,支持在多个 UI 控件中保存和恢复列宽设置 2026-08-22 15:08:37 +08:00
waynebian01
431083eec0 添加收割者战刃相关功能,更新状态显示和界面配置 2026-08-16 15:34:58 +08:00
waynebian01
a679b12309 添加英勇打击技能,更新相关状态和界面显示 2026-08-16 14:21:44 +08:00
liantian-cn
fd5b04463a feat: 模块目录迁移至用户配置目录
模块存储位置从 exe 旁 baseDirectory/module 迁移到 {UserProfile}/.config/{AppName}/module
(AppName 动态取程序集名,Windows 下为 C:\Users\<用户名>\.config\Shigure\module)。

- ModuleStore.ResolveModuleDirectory 改为无参静态方法,删除 Shigure.csproj 检测死代码
- AppInfo 新增 AppName(程序集名单一来源,与 Version 惯例一致)
- Program.cs 新增启动迁移提示:旧目录有内容且新目录无模块文件时弹纯文案提示
- StatusForm 关于页在路径位于 exe 目录外时显示完整路径;编辑器打开文件夹跟随新路径
- csproj 删除 module 复制项;仓库根 module/ 示例目录保留
- 文档同步更新(README/CLAUDE/打包说明/Obsidian 01/11/00/10)
- 旧模块不自动迁移,由提示引导用户手动移动
2026-08-15 11:21:10 +08:00
waynebian01
31365c23da 更新 ClassBlocksStore 和 ClassConfigEditorControl,支持编辑 spellsList;添加增压层数字段到状态和 UI 组件 2026-08-14 15:34:28 +08:00
waynebian01
c22b87e200 优化光环组配置,新增自律状态支持 2026-08-12 15:09:07 +08:00
waynebian01
3740a21746 新增模块操作按钮并优化链接图标绘制逻辑 2026-08-11 11:22:23 +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
bfd1c05b6e 新增模块网站链接并优化导航按钮样式 2026-08-11 01:16:34 +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
a4f30f7349 feat: 更新宏条件和解析功能,增强 UI 表格对换行的支持 2026-08-08 23:30:47 +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
e0a2a2ba1b feat(UI): Enhance ClassConfigEditorControl with spellsList display and improve ModuleEditorControl UI
- Added a new DataGridView for displaying spellsList in ClassConfigEditorControl.
- Updated tab structure to include spellsList page and adjusted column counts accordingly.
- Implemented FillSpellsListGrid method to populate spellsList data.
- Modified ModuleEditorControl to include a button for fetching modules from the website.
- Improved button layout and styling for better user experience.
- Added watermark functionality in StatusForm with a transparent background for better aesthetics.
- Enhanced the About panel with additional information fields and improved layout.
2026-07-31 02:11:57 +08:00
waynebian01
3c206fc86b 配置与宏 2026-07-28 20:31:34 +08:00
waynebian01
ff188ed501 更新模块解析逻辑,添加推荐天赋字段,调整职业文件命名为英文,优化配置文件读取,删除无用的配置文件,修复光环识别相关问题。 2026-07-27 01:27:14 +08:00
waynebian01
789058de52 删除了光环识别 2026-07-25 14:34:00 +08:00
waynebian01
0985a013fb 优化了光环识别输入框, 修改了部分职业的信息 2026-06-22 00:36:43 +08:00
waynebian01
8a6fe417a9 添加了一键打包.py 2026-06-21 20:35:20 +08:00
waynebian01
734383a521 1.2.2.2 ,修改了色块的位置 2026-06-20 23:26:59 +08:00
waynebian01
f251aefedd 可以在"识别光环"里获取光环的层数了, 最大20层 2026-06-20 14:09:59 +08:00
waynebian01
2be6bbf168 Release 1.2.0.0 2026-06-19 23:29:19 +08:00
waynebian01
1fdf3af69f 调整了UI界面 2026-06-19 01:06:54 +08:00
waynebian01
769bd907fc 添加了版本号, 作者选项 2026-06-19 00:45:16 +08:00
waynebian01
d4fadfbdf5 细微调整UI的宽度 2026-06-17 14:36:08 +08:00
waynebian01
9861a602bf 删除不必要的文件 2026-06-16 01:24:17 +08:00
waynebian01
182475ea63 修改说明 2026-06-16 00:36:33 +08:00
waynebian01
ae5997acce 改进11 2026-06-15 14:33:53 +08:00
waynebian01
fc482fe514 改进10 2026-06-15 01:43:38 +08:00
waynebian01
5f9443308a 随机名称, 随机哈希值 2026-06-14 20:58:00 +08:00
waynebian01
82333279a8 整合文件夹 2026-06-14 01:13:58 +08:00