Bug 155677 - SWT should provide access to the platform's native animation hooks
Summary: SWT should provide access to the platform's native animation hooks
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Steve Northover CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-30 08:36 EDT by Eric Moffatt CLA
Modified: 2013-04-18 13:53 EDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Moffatt CLA 2006-08-30 08:36:09 EDT
We're planning on enhancing our use of animation effects and this would be a great help...
Comment 1 Grant Gayed CLA 2006-09-18 11:22:21 EDT
Any specific requests that are not met by current swt facilities?
Comment 2 Eric Moffatt CLA 2006-09-18 14:58:21 EDT
Not really, we're looking into the general animation issues (the current 'black hollow rects' style is sorta 80's) and we're seeing what we can do to update the look somewhat.

I'm not even sure that there would be sufficient overlap in the API's in order to SWT-ize them into a common API but most platforms do have an animation style now and it would be nice to use them if possible.

I realize that this is sort of a vague Paklid-like 'can you make it go?'...;-)
but if there turns out to be an appropriate path it might prove useful...
Comment 3 Steve Northover CLA 2006-09-18 15:45:03 EDT
I looked quickly at the win32 animation calls.  They always take a window and fade or slide it.  There may be other calls around that do more but I couldn't find them.  What exactly are you looking for?
Comment 4 Eric Moffatt CLA 2006-09-19 10:52:27 EDT
Basically, we're hoping to find a way to use the platform-specific minimize/restore animations if possible (the bar on XP, the funky swoop thing on the Mac and I'm not sure about the various Linux flavors). The goal is to use the native look where we can but as I say in my previous comment I have no reason to believe that all platforms are aligned sufficiently to support a common API. (I'm just trying to come up with something that we can replace the current black,hollow rects with because they appear quite dated).

Also, my current animation story results in a significant delay due to image capture/repaint which the native implementations don't have. Note that part of this is related to bug 156445 but not all.
Comment 5 Steve Northover CLA 2006-09-19 11:32:34 EDT
Ok, SSQ and I will look into the Mac animation calls and get back to you in this bug report.
Comment 6 Steve Northover CLA 2006-09-19 11:39:58 EDT
Looks like we need to investigate TransitionWindowWithOptions().