This isn't something thats extremely difficult to do. You will need to create NSView subclasses for the scores at the top. You can use NSAttributedString/NSMutableAttributedString to create styled text, and use their drawInRect method to draw the text into the view. It would be a good idea to read this:
https://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/CocoaDrawingGuide/Introduction/Introduction.html And more specifically, this: https://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/CocoaDrawingGuide/Text/Text.html#//apple_ref/doc/uid/TP40003290-CH209-BCIEEIGC For the scrolling scores below, you will have to put the scores into an NSTableView, or an NSCollectionView (the latter is better if you want to customize the display) inside an NSScrollView. As for the automatic scrolling, NSScrollView has nothing built in to facilitate this. Most likely you are going to have to use an NSTimer that fires every few milliseconds, and uses NSScrollView's scrollToPoint: method to scroll gradually until you hit the bottom. Independent Cocoa Developer, Macatomy Software http://macatomy.com On 2010-01-03, at 4:07 PM, gumbo...@mac.com wrote: > I have been asked to design a revolving scoreboard for a large Sporting Clays > event. The plan is to have a MacBook connected to a large flat screen TV in > the main tent. I will pull the scores from a CSV file (which is updated > regularly) and sort them into arrays for display. Creating the on screen > graphics is something I have not done much of with Cocoa. The organizers have > asked for a full screen display and would like have the top 5 scores at the > top of the screen and then scroll the rest of the field below these scores. > I could punch this out with HTML and a bit of Javascript, but I thought it > might be good to do have a play with Quartz. > Can you please tell me how you good people might approach this? > _______________________________________________ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > Please 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: > http://lists.apple.com/mailman/options/cocoa-dev/pcwiz.support%40gmail.com > > This email sent to pcwiz.supp...@gmail.com _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com