MCPcopy Create free account
hub / github.com/baldurk/renderdoc / thumb_doubleClicked

Method thumb_doubleClicked

qrenderdoc/Windows/TextureViewer.cpp:2582–2593  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2580}
2581
2582void TextureViewer::thumb_doubleClicked(QMouseEvent *e)
2583{
2584 if(e->buttons() & Qt::LeftButton)
2585 {
2586 ResourceId id = m_Following.GetResourceId(m_Ctx);
2587
2588 if(id != ResourceId())
2589 {
2590 ViewTexture(id, m_Following.GetTypeHint(m_Ctx), false);
2591 }
2592 }
2593}
2594
2595void TextureViewer::thumb_clicked(QMouseEvent *e)
2596{

Callers

nothing calls this directly

Calls 3

GetTypeHintMethod · 0.80
ResourceIdFunction · 0.50
GetResourceIdMethod · 0.45

Tested by

no test coverage detected