setAction with an additional parameter
Hi,
When using the 'setAction' function of the class Button, why can't I pass a callback object taking one more parameter than just the "const touchgfx::AbstractButtonContainer&"?
Here's my CallBack object with its corresponding handler function:
Callback<NumpadBis, const touchgfx::AbstractButtonContainer&, const int> _keyPressed;
void keyPressedHandler(const touchgfx::AbstractButtonContainer& src, const int);And this doesn't work:
aKey->setAction(_keyPressed);While it works just fine if I remove the "int" param.
