This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
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.
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).
To post a comment, please login or register a new account.