|
|
|||||||||
![]() |
|||||||||
|
![]() |
||||||||
|
DBPrefsWindowController 1.1 Thursday, March 15, 2007 I’ve made some minor improvements to the DBPrefsWindowController class I posted earlier this week...
A couple of people pointed out that the window resizing and cross-fade animation weren’t happening simultaneously. They were happening together at one point early in development, but I didn’t notice when that stopped working. So to fix it I’m now letting the NSViewAnimation handle the window resizing while it’s handling the cross-fade.
I also decided to slow-mo the animation if the user holds down the shift key, just like Apple does in the DVD Player preferences. If you don’t like this, you can disable it using the new -setShiftSlowsAnimation: method.
And finally, -setupToolbar is now called each time the preferences window opens so you can configure it differently each time if you want.
Download: DBPrefsWindowController 1.1.1[1]
If you missed the original description about the class, you’ll find it, and the documentation, here.
Footnotes: 1. After this was written, the class was updated again. You can find out more about the changes here.
| |||||||||