[vlc-devel] Cosmetics

Pierre d'Herbemont pdherbemont at free.fr
Sat Aug 23 18:21:08 CEST 2008


Hi Georg,

I tried it, but I can't notice any changes. We have been already using  
a textured window for some times now.

Pierre.

On Aug 23, 2008, at 5:39 PM, Georg Seifert wrote:

> Hello,
>
> I would like to so a small cosmetic change on the main video window in
> Leopard.
>
>
> I just cant find the complete code (but I saw some example some time
> ago).
>
> I use the initWithContentRect... in a NSWindow subclass in on of my
> apps but without the ifdefs. I put them in in Mail I do not find the
> code to distinguish Tiger and leopard right now but this should be  
> easy.
>
> - (id)initWithContentRect:(NSRect)contentRect styleMask:
> (NSUInteger)windowStyle backing:(NSBackingStoreType)bufferingType
> defer:(BOOL)deferCreation
> {
> #ifndef TIGER
> 	windowStyle |= NSTexturedBackgroundWindowMask;
> #endif
> 	self = [super initWithContentRect:contentRect styleMask:windowStyle
> backing:bufferingType defer:deferCreation];
> 	
> 	if (self) {
> #ifndef TIGER
> 		[self setContentBorderThickness:32.0 forEdge:NSMinYEdge];
> #endif
> 	}
> 	return self;
> }
>
> if someone could try this with VLC and commit it?
> Regards
> Georg
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
>




More information about the vlc-devel mailing list