Commit Graph

28 Commits

Author SHA1 Message Date
辉鸭蛋
6f87a0c4d0 脚本仓库V2 (#1707)
* feat: add custom drawer control and integrate it into the UI

* 更新仓库UI

* feat: implement Git-based repository update mechanism and improve error handling

* feat: add reset repository functionality with confirmation dialog

* 修改打开队伍配置界面的重试次数和日志

* feat: add drawer open/close events and improve drawer closing logic

* feat: enhance WebpagePanel navigation handling and improve initialization logic

* feat: add drawer opened event handling and improve navigation completion logic

* feat: implement dynamic height adjustment for WebpagePanel using Grid container

* feat: update drawer dimensions and apply dynamic sizing based on position

* feat: add CustomDrawer component and integrate with MapPathingViewModel for enhanced navigation

* feat: integrate WebView2 for Markdown file navigation in MapPathingViewModel
2025-06-17 03:13:56 +08:00
辉鸭蛋
807288ab90 重构底层截图器,大幅提升截图器耗时 (#1302)
* to mat init

* BitBlt 加锁

* 使用读写锁重构 Windows.Graphics.Capture,删除BGI自己命名的缓存设置

* dwm加锁并返回mat

* 队伍中没有对应元素角色修复日志问题

* 清除所有 DispatcherTimerOperationEnum 内容

* 修复单测的编译错误

* HDR Support

* 清理无用的截图器模式
2025-03-15 13:18:19 +08:00
辉鸭蛋
46ebdfc452 wpfui 4.0.0 (#1255)
* new INavigationAware, remove PageService

* fix run

* fix title bar

* override OnNavigatedTo

* try fix WindowStartupLocation
2025-03-13 00:33:31 +08:00
辉鸭蛋
b130351d8d bgi.huiyadan.com -> bettergi.com 2025-01-29 08:41:11 +08:00
辉鸭蛋
e08b0875ee fix lag 2025-01-17 23:12:14 +08:00
辉鸭蛋
a66b802bbd fixed #661 2024-12-29 19:00:26 +08:00
辉鸭蛋
c5de098865 new doc url 2024-11-03 22:26:14 +08:00
辉鸭蛋
b2cf62a21c add local script repo web
重构了 `AvatarClassifyGen.cs` 中的图像读取逻辑,现在只读取一个图像文件。`AllConfig.cs` 中添加了 `ScriptConfig` 类的配置,并监听其属性变化。`ScriptRepoUpdater.cs` 中引入了多个新命名空间,添加了 `_logger` 和 `_webWindow` 字段,新增了 `AutoUpdate` 方法,修改了 `UpdateCenterRepo` 方法,新增了 `FindCenterRepoPath`、`ImportScriptFromUri` 和 `OpenLocalRepoInWebView` 方法。`WebpagePanel.cs` 中添加了 `OnWebViewInitializedAction` 属性。`WebpageWindow.cs` 中注释掉了背景色设置。`MainWindow.xaml` 中修改了标题栏图标路径。`JsListPage.xaml`、`KeyMouseRecordPage.xaml` 和 `MapPathingPage.xaml` 中修改了按钮命令绑定。`MainWindowViewModel.cs` 中添加了 `AutoUpdate` 方法调用。`JsListViewModel.cs`、`KeyMouseRecordPageViewModel.cs` 和 `MapPathingViewModel.cs` 中添加了 `Config` 属性和 `OnOpenLocalScriptRepo` 命令。新增了 `ScriptConfig.cs` 和 `RepoWebBridge.cs` 文件,定义了 `ScriptConfig` 和 `RepoWebBridge` 类。
2024-10-13 18:13:28 +08:00
辉鸭蛋
475b9bbd00 update ui text & ProxySpeedTester
删除了 `ClickOffset` 类及其相关代码。
在 `MainWindow.xaml` 中,将导航菜单项的内容从“脚本”更改为“JS 脚本”。
在 `JsListPage.xaml` 和 `KeyMouseRecordPage.xaml` 中,更新了文本内容,并添加了指向相关教程的超链接。
在 `JsListViewModel.cs` 和 `KeyMouseRecordPageViewModel.cs` 中,分别添加了 `OnGoToJsScriptUrl` 和 `OnGoToKmScriptUrl` 方法,用于打开对应的教程 URL。
新增了 `ProxySpeedTester.cs` 文件,包含一个用于测试代理速度的类 `ProxySpeedTester`,提供了获取最快代理地址的方法。
2024-10-10 21:58:35 +08:00
辉鸭蛋
6812f30732 optimize script execution 2024-08-17 18:00:03 +08:00
辉鸭蛋
c6680ced12 add js script page 2024-08-17 16:02:54 +08:00
ema
9b874d3747 small trial with using Toast instead of MessageBox 2024-08-16 00:43:32 +08:00
辉鸭蛋
2b6465be22 edit kmscript name 2024-08-16 00:38:41 +08:00
qhy040404
c490d29aa1 code cleanup 2024-08-14 18:01:02 +08:00
辉鸭蛋
308d398036 script group ui 2024-08-10 13:37:29 +08:00
辉鸭蛋
65f2aad4c2 add tp click & fix mask window display 2024-07-31 23:44:25 +08:00
辉鸭蛋
917df88099 add cancel task hotkey #501 2024-07-30 00:12:18 +08:00
辉鸭蛋
96a56ac4b8 fix stop when recorder starting #501 2024-07-29 23:59:22 +08:00
辉鸭蛋
0f5247c844 keymouse script adaptation for multi-resolution 2024-07-28 11:07:00 +08:00
辉鸭蛋
c3922107b5 init script 2024-07-21 10:13:41 +08:00
辉鸭蛋
bc6e9bc078 update key mouse marco ui 2024-07-13 17:03:05 +08:00
辉鸭蛋
c88644f7a6 macro ui 2024-07-07 21:57:33 +08:00
辉鸭蛋
6c1314cc4d add listview for KeyMouseRecordPage 2024-07-01 00:13:18 +08:00
辉鸭蛋
40c42e550b add calibration 2024-06-25 01:50:55 +08:00
辉鸭蛋
8153367903 fix macro play 2024-06-25 00:07:06 +08:00
辉鸭蛋
0d74e9701e add dinput test 2024-06-24 02:20:43 +08:00
辉鸭蛋
da30d0b7a1 add key mouse recorder 2024-06-24 01:12:42 +08:00
辉鸭蛋
85a2e4a642 add record UI 2024-06-23 23:22:11 +08:00