Example #1
0
void GameCursor::mouse_move(const MouseMoveEvent& event) {
    if (event.where().h >= viewport().left) {
        wake();
    }
}
Example #2
0
void EventTracker::mouse_move(const MouseMoveEvent& event) {
    _mouse = event.where();
}