I’d like to create top level desktop windows that can have non-rectangular shapes. Ideally I could use either a “Path” or “RectangleList” object to specify this shape and then somehow apply it to the shape of the window itself.
For example, at a very basic level it would be nice to define a custom rounded rectangle for a DocumentWindow or ResizeableWindow. But I’d also like to create more exotic shapes that we see, for instance, in various media player skins and widgets etc. RectangleList would allow me to create a window shape from a bitmap for instance.
Is there a way to effectively do this with JUCE today? And in a cross platform way so it works on PC and Mac? If not, could we get one?
I know on Win32 there is ::SetWindowRgn(HWND hWnd, HRGN hRgn, BOOL redraw) - but I’m not familiar with the Mac way of doing this.
Thanks,
Kurt.