Dexter Lagan

Results 18 comments of Dexter Lagan

Also, I noticed that it breaks vim's color themes. Say I have a cobalt color scheme setup in vim, the background color of characters doesn't match the background color of...

I strongly agree with the initial assessment. List-box% is awkward to use. The two things that I really do not understand are: - why do we need to feed the...

Aaaah yes send/apply! I forgot all about this. Thank you!

Of more pressing concern, valid colors displayed correctly by (text) : ![color-to-bitmap-good](https://user-images.githubusercontent.com/38226103/116519115-5ef9ea00-a8d1-11eb-9066-db2abc67aecd.png) ...aren't displayed at all by (scale (color-list->bitmap)) : ![color-to-bitmap-bug](https://user-images.githubusercontent.com/38226103/116519073-543f5500-a8d1-11eb-944d-149fe853d99c.png)

Source to reproduce the problem: (DrRacket 8.0.900 Win10 x64): #lang racket (require 2htdp/image) (define size 25) (rotate 90 (above/align "left" (text "Light Brown" size "LightBrown") (text "Medium Brown" size "MediumBrown")...

No problem man I was late posting the bug as well :). It works fine as is, just gotta delete the old project. Dex > On May 7, 2018, at...

Would that be helpful? Ref: https://learn.microsoft.com/en-us/answers/questions/715081/how-to-detect-windows-dark-mode It depends on Windows versions On recent OS (>= Windows 10 1903) : ``` [DllImport("UXTheme.dll", SetLastError = true, EntryPoint = "#138")] public static extern...

Another uglier option: wrapping around PowerShell. I found this, but it doesn't work on my system. Maybe there's a way: ``` (New-Object Windows.UI.ViewManagement.UISettings).GetColorValue("background") ``` Ref: https://stackoverflow.com/questions/38734615/how-can-i-detect-windows-10-light-dark-mode

Also, according to this, [Visual Styles](https://learn.microsoft.com/en-us/windows/win32/controls/themes-overview) have to be enabled for GetThemeSysColor to work. Ref: https://stackoverflow.com/questions/63159666/get-windows-10-theme-color-in-classic-c-winapi-win32-application