MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / wheelEvent

Method wheelEvent

pcsx2-qt/Debugger/RegisterView.cpp:216–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

214}
215
216void RegisterView::wheelEvent(QWheelEvent* event)
217{
218 if (event->angleDelta().y() < 0 && m_rowEnd < cpu().getRegisterCount(ui.registerTabs->currentIndex()))
219 {
220 m_rowStart += 1;
221 }
222 else if (event->angleDelta().y() > 0 && m_rowStart > 0)
223 {
224 m_rowStart -= 1;
225 }
226
227 update();
228}
229
230void RegisterView::mouseDoubleClickEvent(QMouseEvent* event)
231{

Callers

nothing calls this directly

Calls 2

getRegisterCountMethod · 0.80
updateFunction · 0.50

Tested by

no test coverage detected