| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
This is a very interesting idea, and I've added it into the "focus ring insets: do not want!" bug. We currently use different border classes to rotate around the different styles, and we'll swap them when we receive a client property change notification - but it might be interesting to actually install the "painter" and the "insets" as their own client properties, and just let the "one magic Aqua border" pull those properties when it's asked to draw or calculate insets. Naturally, I have concerns about the speed of painting or layout when every button is accessing the client property hash table - but that could be mitigated by caching caching an instance variable in the border instance itself, and ensuring the border is listening for client property changes. Hrm... Thanks for the idea Werner, Mike Swingler Java Runtime Engineer Apple Inc. On Sep 30, 2008, at 10:31 AM, Werner Randelshofer wrote:
|
_______________________________________________ Do not post admin requests to the list. They will be ignored. Java-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/java-dev/email@hidden This email sent to email@hidden
| References: | |
| >Button insets (From: Ken Orr <email@hidden>) | |
| >Re: Button insets (From: Mike Swingler <email@hidden>) | |
| >Re: Button insets (From: Rob Ross <email@hidden>) | |
| >Re: Button insets (From: Ken Orr <email@hidden>) | |
| >Re: Button insets (From: Mike Swingler <email@hidden>) | |
| >Re: Button insets (From: Werner Randelshofer <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.