ERIS CORE

◆ onTouch()

void AppAIfES::onTouch ( uint16_t  t_x,
uint16_t  t_y 
)
inlineoverrideprotectedvirtual

Event handler called on touch.

Parameters
t_x
t_y

Reimplemented from AppBaseClass.

Definition at line 152 of file AppAIfES.h.

152  {
153  //check if touch point is within the application bounding box
154  if (t_x > x && t_x < (x + w) && t_y > y && t_y < (y + h)){
155  //is touched
156  }
157  };

References AppBaseClass::h, AppBaseClass::w, AppBaseClass::x, and AppBaseClass::y.