| 196 | } |
| 197 | |
| 198 | void VASTMatrixComponent::buttonClicked(Button* buttonThatWasClicked) { |
| 199 | //ICONS |
| 200 | if (buttonThatWasClicked == c_iconDelSlots.get()) { |
| 201 | myProcessor->m_pVASTXperience.m_Set.modMatrixRemoveAll(); |
| 202 | myProcessor->requestUIUpdate(); |
| 203 | } |
| 204 | |
| 205 | if (buttonThatWasClicked == c_iconMaximizeEditor.get()) { |
| 206 | if (!myEditor->vaporizerComponent->isTabConcertinaMaximized()) { |
| 207 | myEditor->vaporizerComponent->maximizeTabConcertina(); |
| 208 | } |
| 209 | else { |
| 210 | myEditor->vaporizerComponent->defaultConcertina(); |
| 211 | } |
| 212 | return; |
| 213 | } |
| 214 | } |
| 215 | |
| 216 | void VASTMatrixComponent::startAutoUpdate() { |
| 217 | if (isShowing()) grabKeyboardFocus(); |
nothing calls this directly
no test coverage detected