If you draw your own control, it might help you to get started to make
a very rough drawing of the control, one with no moving parts but with
the areas of the control clearly delineated so you know where to do
your hit-testing.  Then draw your indicator with a black circle or
square.  Then draw the indicator with an image from a PNG.  At the
very end have a designer do nice graphics.
Michael David Crawford, Consulting Software Engineer
[email protected]
http://www.warplife.com/mdc/

   Available for Software Development in the Portland, Oregon Metropolitan
Area.


On Thu, May 7, 2015 at 3:55 PM, Graham Cox <[email protected]> wrote:
>
>> On 8 May 2015, at 6:11 am, Jerry Krinock <[email protected]> wrote:
>>
>>  a mid 19th-century radio receiver
>
> Really Jerry? Radio receivers weren't a thing until the 1920s!
>
>
>> Am I correct that the answer is "no"?  Keep in mind that we're not just 
>> drawing here; this is a control; we need mouse clicks, etc.
>>
>> Indeed, I'm not much of a drawing and graphics guy.
>
> I suggest it's time to break out the subclass. I suspect it's not going to be 
> a hugely difficult task. One thing I've found is a good approach to custom 
> controls is to draw the graphical parts separately (in a drawing app) and 
> just use them as an included resource. That way you don't get bogged down in 
> low level drawing code, it's easy to modify or customise and you can 
> concentrate your coding effort on the functioning of the control rather than 
> its appearance.
>
> I wouldn't be surprised if there is a 3rd-party solution out there for this 
> already.
>
> --Graham
>
>
>
> _______________________________________________
>
> Cocoa-dev mailing list ([email protected])
>
> 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:
> https://lists.apple.com/mailman/options/cocoa-dev/mdcrawford%40gmail.com
>
> This email sent to [email protected]

_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to