On Saturday, October 2, 2021 at 5:04:43 PM UTC+3 Albrecht Schlosser wrote:
On 10/2/21 3:51 PM Mo_Al_ wrote:
> Hello
> This is more of a Cocoa question than an FLTK question, but since my
> experience with stackoverflow regarding anything Cocoa or Objc related
> hasn't been stellar, I thought I'd ask here.
>
> Apps running on MacOS's dark mode benefit from desktop tinting. So
> even if I get dark mode's windowBackgroundColor using:
> [...]
> Is there something I'm missing?
> Is there a way to programmatically get the current desktop tint and
> somehow apply it to an FLTK window?
I have no idea what "desktop tinting" means and what you really
want/need. That said, we have a new branch called "darkmode" (inactive,
not yet merged) where Mike Sweet added something to get the dark mode
system colors from macOS. Maybe this can help?
Comments are owned by the poster. All other content is copyright 1998-2025 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.