Mailing Lists: Apple Mailing Lists

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

Keeping OpenGL context in sync with HIToolbar animation.



I have a composite window with an HIToolbar running across the top.
The window contents below is covered entirely by an HIView subclass which draws and manages an OpenGL context.


This window has a toolbar button, which is set to animate the toolbar slipping and sliding to and from view.

The problem, of course, is readjusting the coordinates of the OpenGL view during that animation.
Adjusting after the event is no problem, since I can listen for the kEventWindowToolbarSwitchMode event on the Window. But during the animation, it's ugly. I was hoping for a kEventControlBoundsChanged event, but no luck there.


So, how can I get notification that the world is changing during this animation? Any advice appreciated.

G.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to 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.