Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Appearance Drawing Questions



--- At Fri, 30 May 2003 07:37:09 -0700, Eric Schlegel wrote:

>On Thursday, May 29, 2003, at 11:46 AM, salvor wrote:
>
>> The point is that my control is virtually guaranteed to look
>> out-of-place in all incarnations unless Apple can provide an API to
>> draw "in aqua".
>
>The point is that we cannot provide this API. I don't mean "we don't
>want to"; I mean "it is not physically possible."
>
>> The custom control I want to do has all of the elements in common with
>> standard Apple controls...I would just need an API to be able to draw
>> those bits as Apple is drawing them in their standard control.
>
>We draw them by getting Photoshop files from the HI team, copying them
>into a theme file, loading the image files, and blitting the contents
>to the screen. We do not have an algorithm for "drawing in Aqua."
>
>> If people are interested, the control I am doing is a min/max control.
>> This looks basically like a slider control, but has two
>> indicators...one for min and one for max. The tip of the indicator
>> would be on either the right or left instead of in the middle. There
>> would also be the occasional need for a third indicator which would be
>> between the other two and drawn below them.
>
>It might be worth filing a bug requesting such a control.

Does this strike anyone as odd? There seems to be a kind of mismatch here.

There is this great Aqua UI designed and presented by Apple.
There are several controls designed and presented by Apple.
There is an API that lets you build your own controls from scratch.
But you cant draw them to look like Aqua.

I understand that "many" people are using the new control APIs. Most of
them from what I can tell are building composite controls (that is
controls made from other controls). While it is possible to build a low
level raw control, it is virtually impossible to make it look like the
rest of the interface.

Maybe someone ( salvor? ) should file a bug.

...Duane
_______________________________________________
carbon-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/carbon-development
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Appearance Drawing Questions (From: Eric Schlegel <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.