Question
multiple events or multiple mixins in touchgfx
How can I use multiple events or multiple mixins in touchgfx. I've managed to use only one so far (like here). If I want to use several, I can't pass 2 callbacks to the view's constructor (in Screen1View.cpp).
Screen1View::Screen1View():boxMoveAnimationEndedCallback(this, &Screen1View::boxMoveAnimationEndedHandler), boxClickedCallback(this, &Screen1View::boxClickHandler) { }When i select an event in touchgfx the following structure can be see
(in Screen1ViewBase.hpp).
touchgfx::MoveAnimator< touchgfx::Box > box1;If I use several, the structure is different
touchgfx::ClickListener< touchgfx::MoveAnimator< touchgfx::Box > > box1;Does somebody has any idea? is it even possible to use multiple mixins?