From 1cd89a74a0cd2ead496857441089b0f7be62721b Mon Sep 17 00:00:00 2001 From: Kan-Ru Chen Date: Tue, 13 Aug 2024 08:34:05 +0900 Subject: [PATCH] feat(prefs): enable new keyboard layouts --- ChewingPreferences/ChewingPreferences.rc | Bin 30292 -> 30964 bytes ChewingPreferences/KeyboardPropertyPage.cpp | 4 ++-- ChewingPreferences/resource.h | Bin 14522 -> 14890 bytes 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ChewingPreferences/ChewingPreferences.rc b/ChewingPreferences/ChewingPreferences.rc index a4991e0edeb871faf52e18a14a68323e68131dff..ec2b0d3bcfb1afcd10287e2a9c3da0b97962e381 100644 GIT binary patch delta 373 zcmccehVjcs#tjm#tcDB*3?`EgitBIoa^1r;`JNjavpIv=WPXpSV74WL!Q{0bGbcBA z*-d`o!83V+X9Tk`P{V7_-pLN0E|d3p#Q|wHPBR801|0?qpz4c$rjwJr!$6{7lm5zB z%R4hTG6XRMF!(S;Fem}lc`~>#I5WgEcr!RL7%~`5e&}TlHU(%KP}YpW6l99NGebT@ z4nrzKE<++iHiIruj|YPS&?G;GV4w*Y=1gAb=Ex1wZv-)A@_9dVLsT;qpl0|p6fu-A zWMG;B^w~o%TYfXJ2|#}$T%#BcbWIV^9U#}_VbN)dq|*c#5)gm*M@de0Q0CbD$~#L7 E06VN!y#N3J delta 151 zcmezJk@3nK#tjm#%;pSclMjmPZ}xHB!^CO9V8WooV8mcBSkeyboardLayout); + CheckRadioButton(hwnd_, IDC_KB1, IDC_KB15, IDC_KB1 + config_->keyboardLayout); return PropertyPage::onInitDialog(); } // virtual void KeyboardPropertyPage::onOK() { - for(UINT id = IDC_KB1; id <= IDC_KB11; ++id) { + for(UINT id = IDC_KB1; id <= IDC_KB15; ++id) { if(IsDlgButtonChecked(hwnd_, id)) { config_->keyboardLayout = (id - IDC_KB1); break; diff --git a/ChewingPreferences/resource.h b/ChewingPreferences/resource.h index 708947b34167040527f6dcb1ac7f9f4ea78a8791..2ccd0c126128f5a78624de21874a7c01b8a61d43 100644 GIT binary patch delta 73 zcmdm0xT<8s3f;*cbhsvOVlr_C`rNK0vwn9d|_9!87FiL&yO19aIKO(r+8m;(75 YxxoC%pOmyf3M?ld6p`M%LRW|z0IwexX#fBK delta 12 TcmZ2gva4{z3f;{T`a;|QC;kNH