TheBenderman / Senior-Design-ALS-Social-Media

4 stars 0 forks source link

DisplayManager Animation Concept #41

Open KLD opened 7 years ago

KLD commented 7 years ago

DisplayManager has great potential to become great, but currently it ehm sucks.

But we need to plan out how to make it "Great Again" (though it never was).

Design Concept The definition would be adjusted to look like DisplayManger.Display(DisplayObject, [DisplayProp]) where DisplayProperty is an Enum. A useful cool proper use of Enum.

We'd use it as the following: DisplayManger.Display(displayObject, DisplayProp.Stretch | DisplayProperty.Animate_FadeIn | DisplayProperty.Animate_SlideOut)

Design Implementation I'm thinking we either let every menu display/dismiss itself (obviously we don't want) or have SelectionManager do that for every pushed menu, and dismiss popped menus. But with this. every display object would have a property of type DisplayProperty. Which is cool actually.

Implementation Cost We currently have Stretch functionality only. So we don't have worry about time, but the concept here it to plan ahead, and have an adjustable design for animations. This would not be considered refactoring since would have default DisplayProperty be set to DisplayProperty .None as an optional param.

Disagree, agree? I want disagreements because without flows, it's perfect. So let me know if there are any possible issues or anything i might've missed.