Regenerating the dock image of a miniaturized NSWindow

2014-12-26 Thread Arjan van Leeuwen
Hi, After I have called [NSWindow miniaturize], is it possible to refresh the miniaturized dock image somehow? I have changing contents in a window, and would like to update the miniaturization to reflect the actual contents. I've found [NSWindow setMiniwindowImage], but this only allows me to

Re: Regenerating the dock image of a miniaturized NSWindow

2014-12-26 Thread Arjan van Leeuwen
I found that I can use [NSDockTile display] to refresh the icon, and it works! Arjan On Fri, Dec 26, 2014 at 10:50 AM, Arjan van Leeuwen arj...@opera.com wrote: Hi, After I have called [NSWindow miniaturize], is it possible to refresh the miniaturized dock image somehow? I have changing

NSVisualEffectView NSVisualEffectBlendingModeBehindWindow transparency

2014-12-26 Thread Jacek Oleksy
Hi, I add vibrancy effect to my window using the following code: In the view class: - (void)awakeFromNib { NSVisualEffectView* vibrantView = [[NSVisualEffectView alloc] initWithFrame:self.frame]; vibrantView.appearance = [NSAppearance appearanceNamed:NSAppearanceNameVibrantLight]; [vibrantView

Re: Regenerating the dock image of a miniaturized NSWindow

2014-12-26 Thread Ken Thomases
On Dec 26, 2014, at 3:50 AM, Arjan van Leeuwen arj...@opera.com wrote: After I have called [NSWindow miniaturize], is it possible to refresh the miniaturized dock image somehow? I have changing contents in a window, and would like to update the miniaturization to reflect the actual contents.

Re: Regenerating the dock image of a miniaturized NSWindow

2014-12-26 Thread Arjan van Leeuwen
On Fri, Dec 26, 2014 at 11:26 AM, Ken Thomases k...@codeweavers.com wrote: On Dec 26, 2014, at 3:50 AM, Arjan van Leeuwen arj...@opera.com wrote: After I have called [NSWindow miniaturize], is it possible to refresh the miniaturized dock image somehow? I have changing contents in a window,