Re: [fltk.general] MacOS desktop tinting

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.general  ]
Previous Message ]New Message | Reply ]Next Message ]

Re: MacOS desktop tinting Mo_Al_ 07:31 Oct 02 top right image
  Thank you. I'll check out that branch.

The Desktop tinting (or wallpaper tinting) can be enabled or disabled in the settings:

The difference can be even more pronounced with lighter (or more red) the wallpaper is. 

I have a small program which extracts all non-deprecated non-beta colors cocoa colors if that might be useful to the darkmode branch:
and the generated colors:
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?

The latest three commits in that branch *might* give you some clues (or
maybe not, I don't know).

In this commit Mike commented "(gotta love how Apple's documentation is
broken...)", whatever that means. ;-)

You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit
Direct Link to Message ]
bottom left image   bottom right image
Previous Message ]New Message | Reply ]Next Message ]

Comments are owned by the poster. All other content is copyright 1998-2022 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to ''.