Hello, I have recently been messing around with customized windows on Mac OS.
A good example is found on the apple development website:
http://developer.apple.com/samplecode/RoundTransparentWindow/index.html
However I seem to have stumbled into a small problem while using wxMax. While the window backgound colour can be set, I have been unable to clear it entirely. Is this possible within wxMax?
I have been able to, crudely, hack this functionality into MaxGUI using the following functions inserted after a window is created (within NSInitGadget, cocoa.macos.m):
[window setOpaque:NO];
[window setBackgroundColor: [NSColor clearColor]];
[window setHasShadow: YES];
But I am at a loss as where to include them within the wxMax module for a similar effect.
Any insight into this matter would be greatly appreciated.
A good example is found on the apple development website:
http://developer.apple.com/samplecode/RoundTransparentWindow/index.html
However I seem to have stumbled into a small problem while using wxMax. While the window backgound colour can be set, I have been unable to clear it entirely. Is this possible within wxMax?
I have been able to, crudely, hack this functionality into MaxGUI using the following functions inserted after a window is created (within NSInitGadget, cocoa.macos.m):
[window setOpaque:NO];
[window setBackgroundColor: [NSColor clearColor]];
[window setHasShadow: YES];
But I am at a loss as where to include them within the wxMax module for a similar effect.
Any insight into this matter would be greatly appreciated.
