Menu

#20 Convert components to plugins

open
nobody
None
6
2009-06-09
2009-03-18
No

to make adding components easier, convert the existing components to plugins written in javascript. NOTE: this could have a performance impact so it will require some exploration to determine an efficient way to do this.

Discussion

  • Mike Reinstein

    Mike Reinstein - 2009-03-24
    • priority: 6 --> 9
     
  • Mike Reinstein

    Mike Reinstein - 2009-03-24

    Expose rendering callbacks via javascript based plugins.

    If performance is an issue we can try changing the renderer to generate component images which are drawn directly rather than re-rendering each frame. determine how to do translucent image rendering in java

     
  • Mike Reinstein

    Mike Reinstein - 2009-03-24
    • priority: 9 --> 5
     
  • Mike Reinstein

    Mike Reinstein - 2009-05-28
    • priority: 5 --> 3
     
  • Mike Reinstein

    Mike Reinstein - 2009-05-28
    • assigned_to: nekoflux --> nobody
     
  • Mike Reinstein

    Mike Reinstein - 2009-05-28
    • priority: 3 --> 8
    • assigned_to: nobody --> nekoflux
     
  • Mike Reinstein

    Mike Reinstein - 2009-05-28

    this could potentially be done by storing an image for each base component and have an event fire when the component needs to be repainted (like a "dirty" flag) when the dirty flag is set, generate the image for the component and clear the dirty flag. When rendering, render the image rather than drawing directly. NOTE: probably only containers need a rendering image. Normal components would be represented in thier respective parent container image.

     
  • Mike Reinstein

    Mike Reinstein - 2009-06-09
    • priority: 8 --> 6
     
  • Mike Reinstein

    Mike Reinstein - 2009-06-09
    • assigned_to: nekoflux --> nobody
     

Log in to post a comment.