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



On 5/31/03 5:30 AM, Takehiko Abe didst favor us with:

> Eric Schlegel wrote:
>
>>> 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.
>>
>> The intention is that you use the Appearance Manager API to draw your
>> own controls, as much as possible. If you use Appearance, you'll get
>> the right look.
>>
>> If the Appearance API doesn't provide what you need, and you need some
>> other sort of control, then we'd really like it if you filed bugs
>> describing what you need so we can try to provide it.
>
>
> DrawThemeWindowListHeader does not look right. It paints with sprite.
> I want something similar to the ones used in Finder's list view or
> databrowser.

Use
ThemeButtonDrawInfo drawInfo;
// Set up drawInfo.
DrawThemeButton( &controlBounds, kThemeListHeaderButton, &drawInfo );


Larry
_______________________________________________
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: "Takehiko Abe" <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.