feat(browser): 支持 URL 加载并添加黑暗模式支持

- 在 BrowserWindow 和 BrowserWindowJDialog 中添加 htmlUrl 属性,用于支持 URL 加载
- 在 CefAppManager 中添加黑暗模式支持,根据系统主题动态调整浏览器设置
- 在 MainApplication 中使用 htmlUrl 属性创建主窗口
- 移除 ThemeColors 中的 isDarkMode 方法,改用 AxisInnovatorsBox.getMain().getRegistrationTopic().isDarkMode() 判断黑暗模式
This commit is contained in:
tzdwindows 7
2025-08-17 14:00:43 +08:00
parent c276e35204
commit 2598e25168
6 changed files with 96 additions and 31 deletions

View File

@@ -1,3 +1,3 @@
#Current Loaded Language
#Fri Aug 15 19:03:09 CST 2025
#Sat Aug 16 18:11:03 CST 2025
loadedLanguage=system\:zh_CN