Commit graph

18 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
e19d025572
code_review: PR #431
* move resources and styles for macOS caption button to `CaptionButtonsMacOS` because it is never used by others and should not been changed
* add `IsCloseButtonOnly` property to `CaptionButtons` and `CaptionButtonsMacOS` and replace the controls in windows
2024-09-01 16:54:20 +08:00
Chiahong Hong
2b056ee644
ux: improve macOS window control button colors for a more native look 2024-09-01 13:47:13 +08:00
leo
7776cda475
enhance: using lightweight ListBox instead of DataGrid to improve performance 2024-08-27 21:28:48 +08:00
leo
d5e51d1f32
feature: supports using native window frame on Linux (#390) 2024-08-22 12:37:26 +08:00
leo
d3095d44c4
ux: macOS close window button icon 2024-07-15 10:27:10 +08:00
leo
f5b35d3db2
refactor: replace all window with custom ChromelessWindow 2024-06-13 11:54:10 +08:00
leo
fa3a3b2dad refactor: code cleanup 2024-05-30 15:13:59 +08:00
leo
96d4150d26 project: reorganize the structure of the project.
* remove dotnet-tool.json because the project does not rely on any dotnet tools.
* remove Directory.Build.props because the solution has only one project.
* move src/SourceGit to src. It's not needed to put all sources into a subfolder of src since there's only one project.
2024-04-02 20:00:33 +08:00
Enner Pérez
a1a14f8858 Project Location 2024-03-20 02:38:28 -05:00
leo
b9f29ef059 style: margins for fixed-size window on Linux platform 2024-03-14 18:29:19 +08:00
leo
035300a612 style: border-less window style on Linux platform. 2024-03-14 18:23:36 +08:00
leo
267c955c88 style: views supports Linux 2024-03-08 11:28:17 +08:00
leo
7f20437464 style<Window>: add window icon 2024-02-22 14:51:31 +08:00
leo
ef352984f9 refactor<Histories>: remove DataGrid patch and use original API to get display offset 2024-02-19 15:30:10 +08:00
leo
04d8e5d476 style<Window>: macOS caption button color 2024-02-19 11:44:38 +08:00
leo
d9f566673e style<Window>: macOS caption button color 2024-02-19 11:33:09 +08:00
leo
2a62596999 refactor<*>: rewrite all with AvaloniaUI 2024-02-06 15:08:37 +08:00