Mailing Lists: Apple Mailing Lists

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

Switching to RAEL



I'm sure lots of you have made the switch from WNE to RAEL. How did you proceed? Our framework handles all of the common events (activate, update, mouseDown, etc). Handling the activate event sets instance variables on the app object, like the current document. Our main event loop also handles deferred tasks after every event. These deferred tasks are deleting trashed objects, executing Apple Events that were created as the result of a drag, etc. This seems like it will be my biggest hurdle.

All I've done so far to make the switch is to call RAEL and turned on the standard handlers and compositing flags on all windows we create. Running the app after that change results in windows that barely update correctly, like for one app that puts up an empty document window when it launches that has a scroll list, a data browser, and some other minor controls, it will mostly draw, but a lot of things are drawn at the wrong origin. Then tabbing between the scroll list and data browser will draw the focused control and erase the other.

I'm at a "what have I gotten myself into" mode right now, with no clear view of hope. Calgon, take me away.

_________________________________________________________
Steve Mills                              Me: 952-401-6255
Senior Software Architect                         MultiAd
email@hidden                       www.multi-ad.com


_______________________________________________ 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.