Re: Expose API ?
Re: Expose API ?
- Subject: Re: Expose API ?
- From: Wade Tregaskis <email@hidden>
- Date: Tue, 13 Jul 2004 16:24:59 +1000
After having search through the archive, I found little to no mention
of an Expose API. Is it possible to utilize this awesome
functionality in our own apps (i.e., on an NSView or NSWindow)?
There is no official API for anything Expose does (aside from Dashboard
in Tiger, if you want to make a pedantic technical classification).
I did happen to find some talk about some CoreGraphicsServices.h (with
an included source code app that rotates a window) but it seemed more
like a hack than something supported by Apple. Don't get me wrong,
the app is cool but I fear using it because any iteration of OS X
could potentially break it.
I'm the author of said hack. :) Yes, it is a hack, and it uses
undocumented, unsupported API's to do what it does. A few Apple
engineer's and 3rd parties have voraciously condemned it, so use at
your own risk...
... that said, it works under 10.2 and 10.3 (possibly earlier systems
too; untested at this point). I've also heard from one person that it
works under 10.4 (in it's present preview release). Several developers
have already made use of it in their products. The general outlook is
that Apple won't change the API significantly, as too much of their own
software relies on it. If they do, it'll be a major upgrade anyway, so
you'll be excused for your own software requiring an update too.
As an aside, while the current public version of that app doesn't have
it in it, I do have a version which supports drawers somewhat... they
slide out as if the window were undeformed, then snap to their
appropriate place. I'm working on similarly applying the transforms to
pop-up menus, sheets and other elements. If there's an express
interest for this, I can probably be prodded to work harder at it. :)
Also, while the topic's been brought up, I wonder if Apple are
considering upgrading their event handling to support transforms
correctly... it's a simple process; my code is BSD licensed and simple
- I'd love to see them adopt it. It breaks no existing apps, either...
if any of the appropriate people are interested, by all means at least
contact me about it.
Wade Tregaskis (aim: wadetregaskis)
-- Sed quis custodiet ipsos custodes?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
References: | |
| >Expose API ? (From: Jim Vanaria <email@hidden>) |