| 92 | } |
| 93 | |
| 94 | int onPressed(function<void()> callback) FL_NOEXCEPT { |
| 95 | int id = mPressCallbacks.add(callback); |
| 96 | mListener.addToEngineEventsOnce(); |
| 97 | return id; |
| 98 | } |
| 99 | |
| 100 | int onReleased(function<void()> callback) FL_NOEXCEPT { |
| 101 | int id = mReleaseCallbacks.add(callback); |
nothing calls this directly
no test coverage detected