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