Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvement: Generalise animation routines #120

Open
GoogleCodeExporter opened this issue May 19, 2015 · 6 comments
Open

Improvement: Generalise animation routines #120

GoogleCodeExporter opened this issue May 19, 2015 · 6 comments

Comments

@GoogleCodeExporter
Copy link

Currently, each component with animation (clock, status bar) must maintain its 
own deadline timer, and get technical with the waiting.

They're also wrong (because they don't wrap the async_wait in the GUI strand), 
but that's beside the point.

More ideally, a component would carry its own deadline timer, which it would 
initialise on the first draw().

A function in component called "next_animation(ctx, time)" would schedule the 
next callback (on the GUI strand) for a certain time.  This would fire through 
a weak_ptr thunk eventually to a virtual method called do_animate.

Original issue reported on code.google.com by [email protected] on 25 Oct 2012 at 5:26

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

[deleted comment]

1 similar comment
@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

Moved to Milestone 1.4, since access to the context (and hence GUI strand) 
would be very useful here.

Original comment by [email protected] on 30 Aug 2013 at 7:55

@GoogleCodeExporter
Copy link
Author

Original comment by [email protected] on 30 Aug 2013 at 7:56

  • Added labels: Priority-Medium
  • Removed labels: Priority-High

@GoogleCodeExporter
Copy link
Author

Original comment by [email protected] on 6 Sep 2013 at 8:49

  • Added labels: Milestone-Release1.6
  • Removed labels: Milestone-Release1.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants