13 auto dispatch = [
this](
Click* c) {
14 return c->fHasFunc ? c->fFunc(c) : this->
onClick(c);
24 fClick->fPrev = fClick->fCurr = fClick->fOrig = {
x,
y};
26 fClick->fModifierKeys = modifierKeys;
27 dispatch(fClick.get());
31 fClick->fPrev = fClick->fCurr;
32 fClick->fCurr = {
x,
y};
34 fClick->fModifierKeys = modifierKeys;
35 return dispatch(fClick.get());
40 fClick->fPrev = fClick->fCurr;
41 fClick->fCurr = {
x,
y};
43 fClick->fModifierKeys = modifierKeys;
44 bool result = dispatch(fClick.get());
#define SK_ABORT(message,...)
virtual bool onClick(Click *)=0
bool onMouse(SkScalar x, SkScalar y, skui::InputState clickState, skui::ModifierKey modifierKeys) final
virtual Click * onFindClickHandler(SkScalar x, SkScalar y, skui::ModifierKey modi)=0