Making a PNG animation control: what's the best approach?
Posted: Tue Mar 10, 2020 10:47 am
I want to make a control that works with PNGs but looks like the wxAnimation (same exposed functions, so i can replace it with mine); so basically the animation is a single long PNG "strip" of frames, and the control show a portion of it as a "frame".
What should be the best approach? Should i start for the wxAnimation sources and change them to build my own, or should writing everything from scratch? Deriving from a wxImage, a wxPanel, a wxBitmap?
What would you suggest?
What should be the best approach? Should i start for the wxAnimation sources and change them to build my own, or should writing everything from scratch? Deriving from a wxImage, a wxPanel, a wxBitmap?
What would you suggest?