LEATH
void UIButtonTest_Editor::touchEvent(Ref *pSender, Widget::TouchEventType type){switch (type){case Widget::TouchEventType::BEGAN:_displayValueLabel->setString("Touch Down");break;case Widget::TouchEventType::MOVED:_displayValueLabel->setString("Touch Moved");break;case Widget::TouchEventType::ENDED:_displayValueLabel->setString("Touch Ended");break;case Widget::TouchEventType::CANCELED:_displayValueLabel->setString("Touch Canceled");break;default:break;}}