Commit Graph
1 Commits
Author SHA1 Message Date
454bb73571 Fixed Window dark mode issue for Windows 10 users! (#449)
* Added extras to NativeAPI.hx

-Added `setWindowBorderColor()`, `hasVersion()`, and `redrawWindowHeader`.

* Added `redrawWindowHeader` to Main.hx

* Added setWindowBorderColor

* Update NativeAPI.hx

* Update Main.hx

* Update Windows.hx

* Update NativeAPI.hx

* Update Windows.hx

* Update NativeAPI.hx

* Added FlxColorToArray to CoolUtil

-Added the FlxColorToArray function to CoolUtil so people can easily use FlxColors with functions like setWindowBorderColor and setWindowTitleColor.

* Update Windows.hx

* Fix Windows.hx

-You now have to use `FlxColor.fromRGB(255, 255, 254)` or 0xFFFFFFFE to set the border to normal

* Update Windows.hx

shhh

* Update NativeAPI.hx

* Small fixes

* small optimization

* eh imma add it here too

---------

Co-authored-by: Ne_Eo <NeeEoo@users.noreply.github.com>
Co-authored-by: ⍚~Nex <87421482+NexIsDumb@users.noreply.github.com>
2024-11-27 00:30:17 +01:00