leo
ef4b639f8e
code_style: move platform dependent code to initialize window to namespace SourceGit.Native
...
Signed-off-by: leo <longshuang@msn.cn>
2025-05-12 21:52:50 +08:00
leo
af9cf6ba6a
ux: force using 4 * RenderScaling
as resize border size on Windows
...
Signed-off-by: leo <longshuang@msn.cn>
2025-05-12 17:57:49 +08:00
leo
7be37424e1
fix: modal dialog did not take focus after show ( #1225 )
...
Co-authored-by: Gadfly <gadfly@gadfly.vip>
Signed-off-by: leo <longshuang@msn.cn>
2025-04-22 16:02:27 +08:00
wl2776
6e5626f267
fix: several typos in source code ( #895 )
2025-01-13 10:11:28 +08:00
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