I knew that NSTexturedBackgroundMask is replaced with NSWindowStyleMaskTexturedBackground and I tried that but it did not work. But it seems we used to get an warning when it was deprecated "
So, I set that property instead. It was also mentioned in to set "tilebarAppearsTransparent" this property to And if you see the output after my fix, it is showing brushMetalLook output correctly, Also NSWindow.h that my 10.14.6 has does not say “textured background should no longer be used”. I am attaching the file |
NSWindow.h
Description: Binary data
static const NSWindowStyleMask NSTexturedBackgroundWindowMask NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSWindowStyleMaskTexturedBackground", 10.0, 10.12) = NSWindowStyleMaskTexturedBackground; Regards Prasanta
|