Exemple #1
0
void EventTracker::mouse_up(const MouseUpEvent& event) {
    if (_strict && !_button) {
        throw Exception("Received MouseUpEvent when mouse already up.");
    }
    _button = false;
    _mouse = event.where();
}
Exemple #2
0
void GameCursor::mouse_up(const MouseUpEvent& event) {
    if (event.where().h >= viewport().left) {
        wake();
    }
}
Exemple #3
0
void ObjectDataScreen::mouse_up(const MouseUpEvent& event) {
    if ((_trigger == MOUSE) && (event.button() == _mouse)) {
        stack()->pop(this);
    }
}