Make creatable indicators able to morph amongst themselves. #137


  • New
  • Enhancment
Closed
Assigned to _ForgeUser65911
  • _ForgeUser65911 created this issue Mar 18, 2010
    Author

    Right now morphing is a mess. I think an improvement (based on something ckknight said about pitbull indicators) is to have these all be based on a frame. So a square uses the frame as is. An icon creates the icon as a child of the frame. (implemented as part of adding borders). This way the frame can remain identical across morphs but the content gets shut down or reused. Text will need to change to save its frame instead of the FontString. A simple callback can then hide / deactivate the objects attached to the frame for a particular object type. The new type can then reuse particular elements (assume standard naming conventions to identify these), or leftovers from the last time the indicator was of its type.

    Once this works smoothly the spec stuff can get implemented.

  • _ForgeUser65911 added the tags New Enhancment Mar 18, 2010
  • michaelsp posted a comment May 5, 2011

    In the new implementation to "morph" an indicator, the old indicator is removed and a new indicator with different type but same name is  created (if the new indicator has not a compatible frame, the old frame is discarded and a new frame is created).


    Edited May 5, 2011

To post a comment, please login or register a new account.