On 12/7/11, Andrej Mitrovic <andrej.mitrov...@gmail.com> wrote:
> That's what the theming API is for on Windows. OSX might have
> something similar. Harmonia uses the theming API, for OSX/Linux you
> can take a look at Qt and how they skin their widgets.
>

By theming API I mean Visual Styles on Windows. A simple example is
online here: 
https://github.com/AndrejMitrovic/DWinProgramming/tree/master/Samples/Extra/VisualStyles
(run via rdmd ..\..\..\build.d "%CD%")

You can also fetch a hit test clip of a control to figure out which
part of your theme-drawn control is clickable.

I don't know whether OSX has something similar.

Reply via email to