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