| 1100 | } |
| 1101 | |
| 1102 | void Framework::toolTipTimerCallback(unsigned int interval [[maybe_unused]], |
| 1103 | void *data [[maybe_unused]]) |
| 1104 | { |
| 1105 | // the sdl timer will be removed, so we forget about |
| 1106 | // clear the timerid and reset the event |
| 1107 | pushEvent(std::move(p->toolTipTimerEvent)); |
| 1108 | p->toolTipTimerId = 0; |
| 1109 | } |
| 1110 | |
| 1111 | void Framework::showToolTip(sp<Image> image, const Vec2<int> &position) |
| 1112 | { |