Java > Scala

Andrej Mitrovic andrej.mitrovich at gmail.com
Sun Dec 11 22:54:30 PST 2011


On 12/7/11, Andrej Mitrovic <andrej.mitrovich at 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.


More information about the Digitalmars-d mailing list