Commit graph

6 commits

Author SHA1 Message Date
leo
e3c0f7d496
refactor: rewrite chromeless window (#634)
* use system chrome instead of custom caption button on macOS
* move `BeginMoveWindow` and `MaximizeOrRestoreWindow` to `ChromelessWindow`
* better supports for fullscreen mode on macOS
* redesign the layout of title bar for all windows

Signed-off-by: leo <longshuang@msn.cn>
2024-11-01 09:38:42 +08:00
leo
10e5c7aa6c
refactor: window chrome style 2024-08-22 15:06:30 +08:00
leo
d5e51d1f32
feature: supports using native window frame on Linux (#390) 2024-08-22 12:37:26 +08:00
leo
d9e17b96f2
fix: dragging the border to resize the window looks weird on Linux (#177) 2024-06-13 15:25:04 +08:00
leo
f3bbf79f4f fix: only fix content margin on Windows platform after window maximized 2024-06-13 12:31:45 +08:00
leo
f5b35d3db2
refactor: replace all window with custom ChromelessWindow 2024-06-13 11:54:10 +08:00