gui: hardcode better windows colours

This commit is contained in:
mappu 2024-07-18 17:51:27 +12:00
parent 223d13be58
commit 8296a2fec9

View File

@ -59,7 +59,11 @@ func vcl_default_tab_background() types.TColor {
if runtime.GOOS == "windows" { if runtime.GOOS == "windows" {
// Assuming that uxtheme is loaded // Assuming that uxtheme is loaded
// @ref https://stackoverflow.com/a/20332712 // @ref https://stackoverflow.com/a/20332712
return colors.ClBtnHighlight // return colors.ClBtnHighlight
// None of the colors.** constants seem to be quite right on a test
// Windows 11 machine - should be #f9f9f9
return 0x00f9f9f9
} else { } else {
return colors.ClBtnFace // 0x00f0f0f0 return colors.ClBtnFace // 0x00f0f0f0
} }