Skip navigation.
 
mlRe: How to Implement Film Rolls Functionality Like iPhoto
FROM : Keith Wilson
DATE : Sat Jun 24 06:28:09 2006

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_removed>)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/kswilson%
> 40bigpond.net.au
>
> This email sent to <email_removed>

Related mailsAuthorDate
mlHow to Implement Film Rolls Functionality Like iPhoto Suman Jun 24, 05:45
mlRe: How to Implement Film Rolls Functionality Like iPhoto Keith Wilson Jun 24, 06:28