Jia Sui
bd7cf1114d
fix(server): D2D 内置皮肤补齐 light 配色,对齐 WebView2 CSS
...
Signed-off-by: Jia Sui <jsfaint@gmail.com >
2026-09-11 22:19:24 +08:00
Aegon8719
dea9292814
issue-55 候选窗支持可配置的有序回落字体
2026-09-09 18:03:56 +08:00
Ouchihao
3fc7ba295f
feat(server): show translations in horizontal candidate windows
2026-09-06 18:09:01 +08:00
Evan
42238a2af6
style: 用 .clang-format 重排 server / windows / ui / log
...
一次性重排,无任何行为改动。四个目录各自的 .clang-format 放在仓库里已久,但全组织只有
MSIME-Linux 在 CI 里执行 clang-format 检查,这边 149 个文件里有 149 个不符合自己声明的风格。
已逐文件核对语义等价:去掉空白、注释与相邻字符串字面量拆分之后,全部 149 个文件与重排前逐字节
相同。差异只有三类——缩进与换行、clang-format 补的 } // namespace 结尾注释、以及长字符串被拆成
相邻字面量(C++ 保证自动拼接)。
这个提交会写进 .git-blame-ignore-revs。
2026-09-06 12:13:47 +09:00
fanlusky
2ac86ea0e2
Stop mapping all Unicode through CJK fonts and cut D2D working-set growth
...
Custom font fallback no longer covers the whole BMP/SIP, so Segoe UI Emoji
can paint color glyphs again; CJK still prefers Noto Sans SC then YaHei.
Drop GaussianBlur compatible targets during BeginDraw (they retained GPU
memory as the candidate window grew), grow the composition swapchain in
64px steps without shrinking, and reuse Card chrome plus cached text
formats instead of reallocating them every layout.
2026-09-02 16:25:54 +08:00
fanlusky
5421c1dd1b
Add SVG icon rendering, toggle switch, and font fallback for MenuFlyoutItem
...
MenuFlyoutItem gains leading SVG icons (ID2D1SvgDocument), an optional
trailing toggle switch, and content-based width measurement so tray-style
menu items match the HTML menu layout. Default UI font is now Noto Sans SC
with Microsoft YaHei fallback via IDWriteFontFallback; CreateTextFormat
gracefully falls back when the primary family is missing.
2026-09-02 16:03:57 +08:00
fanlusky
d16f9f3fea
Add DirectComposition hosting and candidate-list chrome for the IME window
...
Adopt an existing HWND, render through D3D11/DXGI/DirectComposition, and
extend CandidateList with horizontal layout, skin colors, click-to-commit,
and a D2D context menu. Preedit TextBlock draws a caret in a fixed insert
slot so neighboring glyphs reflow instead of using letter-spacing; the
default end caret sits slightly after the last character.
2026-09-02 15:29:14 +08:00
fanlusky
4f62123699
Support image render
2026-07-15 14:39:55 +08:00
fanlusky
ab5516da96
Unclamp combo box popups
2026-06-19 13:03:32 +08:00
fanlusky
e210c8eb4c
Allow popups to scroll out of view
2026-06-19 13:00:35 +08:00
fanlusky
19257221cc
Restore popup trigger press feedback
2026-06-19 12:54:41 +08:00
fanlusky
8a20c1461a
Remove sticky button focus border
2026-06-19 12:50:00 +08:00
fanlusky
d2ca118d89
Add candidate hover highlight
2026-06-19 11:52:43 +08:00
fanlusky
7361a13b19
Keep arrow cursor over candidate list
2026-06-19 11:49:15 +08:00
fanlusky
7075c06aee
Emphasize candidate highlight bar
2026-06-19 11:46:45 +08:00
fanlusky
fffcf648b2
Widen candidate highlight block
2026-06-19 11:24:32 +08:00
fanlusky
abe110c6e1
Refine candidate preview weight
2026-06-19 11:14:22 +08:00
fanlusky
718d4f9559
Align candidate preview typography
2026-06-19 11:06:54 +08:00
fanlusky
9e7d1acdac
Scale candidate preview back up
2026-06-19 10:59:29 +08:00
fanlusky
eb6d49b7ea
Compress candidate preview spacing
2026-06-19 08:12:20 +08:00
fanlusky
912cf30148
Align candidate bar to selection edge
2026-06-19 08:07:54 +08:00
fanlusky
d35dd7b2de
Tighten candidate preview toward reference
2026-06-19 08:00:25 +08:00
fanlusky
01612f3db3
Polish candidate preview shell
2026-06-19 07:52:08 +08:00
fanlusky
a182e6a16f
Tune candidate preview emphasis
2026-06-19 06:50:02 +08:00
fanlusky
d102d0a72a
Refine candidate selection geometry
2026-06-18 05:54:43 +08:00
fanlusky
ddbfbabaec
Match candidate preview to HTML styling
2026-06-17 20:36:17 +08:00
fanlusky
2953e2685a
Fix compact candidate preview spacing
2026-06-17 20:31:59 +08:00
fanlusky
34ea7bf8cc
Fix candidate preview text encoding
2026-06-17 20:23:29 +08:00
fanlusky
41f4571bd2
Add candidate popup keyboard navigation
2026-06-17 20:20:17 +08:00
fanlusky
10cfb70d66
Add candidate popup preview primitives
2026-06-17 19:08:27 +08:00
fanlusky
ea71bad9f9
Tighten TreeView leading padding and guide offset
2026-06-16 21:52:05 +08:00
fanlusky
e1469a357b
Add TreeView hierarchy guide lines
2026-06-16 21:48:14 +08:00
fanlusky
577639558d
Indent TreeView row backgrounds by depth
2026-06-16 21:44:56 +08:00
fanlusky
13351eb744
Fix ComboBox double highlight after selection
2026-06-16 21:38:47 +08:00
fanlusky
1aa6d6b51b
Highlight selected ComboBox item on reopen
2026-06-16 21:35:57 +08:00
fanlusky
3454024256
Add left padding for accordion headers
2026-06-16 17:58:52 +08:00
fanlusky
4cdd7b0adf
Add spacing between ComboBox popup items
2026-06-16 17:52:54 +08:00
fanlusky
40eb7d297b
Cache text layouts for button and list controls
2026-06-16 16:29:24 +08:00
fanlusky
55293db8d6
Cache render brushes and text formats
2026-06-14 20:05:24 +08:00
fanlusky
d951c0e4e6
Revert "Add keyboard navigation and menu list support"
...
This reverts commit a1d4df897e .
2026-06-14 19:57:00 +08:00
fanlusky
a1d4df897e
Add keyboard navigation and menu list support
2026-06-14 19:54:34 +08:00
fanlusky
0b8063299a
Add ContextMenuHost and right-click popup routing
2026-06-14 19:45:53 +08:00
fanlusky
84b6636f89
Add ComboBox built on the popup overlay system
2026-06-14 19:41:58 +08:00
fanlusky
10b7b94c29
Add popup host and scene overlay popup system
2026-06-14 19:35:51 +08:00
fanlusky
d6fde30b88
Add theme system and optimize dirty layout routing
2026-06-14 19:29:15 +08:00
fanlusky
db59ca7365
Add parent-child relationship of the control tree and bubble-style invalidation propagation.
2026-06-14 15:17:44 +08:00
fanlusky
df881f81bf
Add invalidation mechanism
2026-06-14 15:14:03 +08:00
fanlusky
6bb9ca27d8
Add more gui controls, make caret of search box align center in vertical.
2026-06-12 23:48:02 +08:00
fanlusky
ff58d90d34
Change the demo page to a scrollable layout and fix the issue of buttons being too wide in the initial state.
2026-06-12 22:53:09 +08:00
fanlusky
f183070834
Add some basic controls
2026-06-12 22:42:35 +08:00