TouchGFX: where is the function that changes the button image?
In my previous post (Calling different functions when a button is pressed or released (Partially Solved): https://community.st.com/s/question/0D53W00000Wa1k2SAB/calling-different-functions-when-a-button-is-pressed-or-released-partially-solved ) I partially solved my problem by modifying the handlePressedUpdated() function.
But now I noticed a strange behavior: if I press/release the button all is OK, but if I press the button, swipe my finger out from the button area, and release, the button image become "unpressed" as soon I exit from the button area, but the "action on release" wasn't called.
I probably need to hook or modify the function that calls the changing of the button image by adding a function call, but I wasn't able to find that function (and I'm not sure it is the right way...).
Have a good day,
