Re: How to Implement Film Rolls Functionality Like iPhoto
Re: How to Implement Film Rolls Functionality Like iPhoto
- Subject: Re: How to Implement Film Rolls Functionality Like iPhoto
- From: Keith Wilson <email@hidden>
- Date: Sat, 24 Jun 2006 14:28:09 +1000
I did something similar using a custom view. It's not hard - just got
to write some code.
As I draw each picture I save its rect in an array of rectangles.
When the user clicks on my custom view, from mouseDown I invoke a
method that I called getClickedPicture:(NSEvent)theEvent . I then
spin through the array of rects using NSPointInRect() to find which
picture was selected.
As for the arrow heads that make it look like an outlineView - I use
an NSButton and define a Title that starts with the rightArrowHead
symbol plus an Alt.Title that starts with a downArrowHeadSymbol.
On 24/06/2006, at 1:45 PM, Suman wrote:
Hi All,
i want to implement film rolls functionality like iPhoto in my
app. I have few doubts in my mind regarding this implementation.
a) is this is a custom view on which drawing takes place
(or)
b) is this is an outlineview
(or)
c) is this is a browser
Any pointers on this will be appreciable.
Thanks,
Suman
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40bigpond.net.au
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden