• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Making custom looks for controls
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Making custom looks for controls


  • Subject: Re: Making custom looks for controls
  • From: August Trometer <email@hidden>
  • Date: Fri, 27 May 2005 13:22:33 -0500

Most of that stuff happens in the drawRect: method. Subclass the control and overwrite drawRect: to draw the control however you'd like.


August



On May 27, 2005, at 1:12 PM, Jose Pertierra wrote:


Hello,

Can anyone point me in the right direction as to how create custom looking controls? For example, Apple Shake has all the standard controls (PopUps, etc) but they look completely different from the standard aqua look.

My shot in the dark is to create new control classes which overwrite whatever the draw function is. If this is the right way to do it, what kind of draw functions should I be using in this draw function?

_______________________________________________
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


References: 
 >Making custom looks for controls (From: Jose Pertierra <email@hidden>)

  • Prev by Date: Apple guys: is the XCode generated CD accessor code decent?
  • Next by Date: Re: How to get NSTableView to notice a change in NSTableDataModel
  • Previous by thread: Making custom looks for controls
  • Next by thread: RE: Making custom looks for controls
  • Index(es):
    • Date
    • Thread