Re: Displaying 2 images in a single cell of nstableview
Re: Displaying 2 images in a single cell of nstableview
- Subject: Re: Displaying 2 images in a single cell of nstableview
- From: Trygve Inda <email@hidden>
- Date: Thu, 07 Dec 2006 15:55:58 +0000
- Thread-topic: Displaying 2 images in a single cell of nstableview
> Hello,
>
> my idea of solving this problem is as follows:
>
> First of all: create a NSView subclass that is able to draw your
> images both (next to each other or like you want) - of course inside
> the drawRect: method. Then draw these view to an image. If you don't
> know how to do this - here is how:
>
> Create a offscreen window programmatically:
>
> NSWindow *hiddenWindow = [[NSWindow alloc]
> initWithContentRect:
> NSMakeRect( -1000,-1000,width,height )
> styleMask: NSTitledWindowMask|NSClosableWindowMask
> backing:NSBackingStoreNonretained
> defer:NO];
>
Won't this just place it 1000 pixels to the left and down from the menu bar?
I have a 30" cinema display that is in "negative" space like this. Maybe
10000 is better?
Trygve
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden