Integrate the on-screen keyboard into the settings.

This commit is contained in:
fanlusky committed 2026-07-18 16:04:40 +08:00
1 parent ed3af76d79
commit 48a2482472
2 files changed
+8

No files matched your search

+3
View File
@@ -210,6 +210,8 @@ target_link_libraries(${PROJECT_NAME} PRIVATE
set(SETTINGS_EXECUTABLE_NAME "MetasequoiaImeSettings")
add_executable(${SETTINGS_EXECUTABLE_NAME} WIN32
"./src/settings/settings_app.cpp"
"./src/settings/settings_launcher.cpp"
"./src/settings/settings_launcher.h"
"./src/config/ime_config.cpp"
"./src/config/ime_config.h"
"./src/utils/common_utils.cpp"
@@ -227,6 +229,7 @@ target_link_libraries(${SETTINGS_EXECUTABLE_NAME} PRIVATE
nlohmann_json::nlohmann_json
dwmapi
dcomp
shell32
$<$<CONFIG:Debug>:${WEBVIEW2_LOADER_DEBUG}>
$<$<CONFIG:Release>:${WEBVIEW2_LOADER_RELEASE}>
)
+5
View File
@@ -1,6 +1,7 @@
#include "config/ime_config.h"
#include "global/globals.h"
#include "resource/resource.h"
#include "settings/settings_launcher.h"
#include "utils/common_utils.h"
#include <WebView2.h>
@@ -331,6 +332,10 @@ void HandleWebMessage(HWND hwnd, ICoreWebView2WebMessageReceivedEventArgs *args)
{
PostConfig();
}
else if (type == "openKeyboardPanel")
{
OpenKeyboardPanelApplication();
}
}
catch (const std::exception &)
{