ERIS CORE

◆ onTouchDrag()

void FLASHMEM AppAudioToPolyphonic::onTouchDrag ( uint16_t  t_x,
uint16_t  t_y 
)
inlinevirtual

Event handler for touch drag.

Parameters
t_x
t_y

Reimplemented from AppBaseClass.

Definition at line 226 of file AppAudioToPolyphonic.h.

226  {
227  //Serial.println("MyApp:onTouchDrag");
228  //draw->drawPixel(x,y,ILI9341_BLUE);
229  //draw->drawPixel(x-1,y,ILI9341_RED);
230  //draw->drawPixel(x,y-1,ILI9341_YELLOW);
231  //draw->drawPixel(x+1,y,ILI9341_ORANGE);
232  //draw->drawLine(x_last,y_last,x,y,ILI9341_WHITE);
233  x_last = t_x;
234  y_last = t_y;
235  }

References x_last, and y_last.