Martijn Laan
|
1add0f7660
Enabled dark mode support for the menus on Windows 11 Version 25H2 (2025 Update).
|
3 сар өмнө |
Martijn Laan
|
e8078533cb
Cleanup.
|
8 сар өмнө |
Martijn Laan
|
9df8ea0196
Enable dark mode support for the menus on 24H2. Tested this works as expected myself.
|
1 жил өмнө |
Martijn Laan
|
43766007df
Whitespace cleanup.
|
1 жил өмнө |
Martijn Laan
|
2c252396e4
Merge branch 'darkermenus' into darkmenus
|
1 жил өмнө |
Martijn Laan
|
ab4e398bb5
Merge branch 'main' into darkmenus
|
1 жил өмнө |
Martijn Laan
|
1b71569549
Cherry pick {$MINENUMSIZE 4} + comment tweak from be9e5e90. Also add {$ALIGN ON} just line built-in UxTheme has. Docs say {$ALIGN ON}={$A+}={$A8}={$ALIGN 8} which is what we want. Doesn't actually matter for our projects since they already have ALIGN 8 now.
|
1 жил өмнө |
Martijn Laan
|
eabda9cd36
Merge branch 'darkmenus' into darkermenus
|
1 жил өмнө |
Martijn Laan
|
58fab309fa
Make menus switch without requiring a restart, using FlushMenuThemes. Read about it before but https://github.com/notepad-plus-plus/notepad-plus-plus/commit/066ef8a4a01a43d0dfadc5c036ab6c2f3cd34385 showed it should be used indeed.
|
1 жил өмнө |
Martijn Laan
|
bade4aaeea
Add dark mode support to the main menu bar on all versions of Windows. Not fully done yet (for example, it uses stock brushes atm) but proves it works very well, even on Windows 7. Uses info from https://github.com/adzm/win32-custom-menubar-aero-theme
|
1 жил өмнө |
Martijn Laan
|
be9e5e90f0
Add {$MINENUMSIZE 4} like builtin UxTheme.pas to fix the new enum but also the ones which were already there (but not used). Also limit the dark menus to known to work Windows versions.
|
1 жил өмнө |
Martijn Laan
|
8e32668add
Cleanup.
|
1 жил өмнө |
Martijn Laan
|
f6249ed1cc
Add dark mode support to the context menus on Windows 10 Version 1903 and later. \o/
|
1 жил өмнө |
Martijn Laan
|
6869601fe7
Renamed our UxTheme to NewUxTheme to avoid accidendally using Delphi's UxThem which indeed Setup was doing.
|
1 жил өмнө |