ERIS CORE

◆ onFocus()

void FLASHMEM AppCQT::onFocus ( )
inlineprotectedvirtual

Event handler called when the app gains focus.

Reimplemented from AppBaseClass.

Definition at line 297 of file appCQT.h.

297  { //called when given focus
298  if (fft == NULL || fft2 == NULL) return;
299  fft->enableFFT(true);
300  fft2->enableFFT(true);
301  is_active = true;
302  };
bool is_active
Definition: appCQT.h:68
erisAudioAnalyzeFFT1024 * fft
Definition: appCQT.h:79
erisAudioAnalyzeFFT1024 * fft2
Definition: appCQT.h:80
void enableFFT(bool enable_state)

References erisAudioAnalyzeFFT1024::enableFFT(), fft, fft2, and is_active.

Referenced by messageHandler().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: