User Visual feedback for Matrix GUI without clicking onto it
iamterryclark opened this issue · comments
Hey there,
I am trying to implement a few different ways that a user could change a state via an int variable, which is linked to the individual buttons on the Matrix GUI.
-
A simple mouse click to press individual the matrix buttons switching off all over buttons not selected works perfectly via
setRadioButton(true)
, thanks for doing this! 👍. -
Using a timer to increment the state (which is an int variable) to then be shown on the matrix as (Visual Feedback) that the current button index is now selected. I currently do this with:
getMatrix("State")->getChildAt(currentIndex)->setSelected(true);
. I then set all other buttons assetSelected(false)
to only show the currentIndex only. This only shows to me when I click onto the GUI.
Is there a fix or something I am not setting in the GUI to be able to fake an event so that it will show without me having to click on the GUI itself?
It's not clear to me what you're asking. Your question sounds more related to your programming logic than an issue with the ofxDatGui API.