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

Method unsavedCaptureCount

qrenderdoc/Windows/Dialogs/LiveCapture.cpp:1010–1023  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1008}
1009
1010int LiveCapture::unsavedCaptureCount()
1011{
1012 int ret = 0;
1013
1014 for(int i = 0; i < ui->captures->count(); i++)
1015 {
1016 Capture *cap = GetCapture(ui->captures->item(i));
1017
1018 if(!cap->saved)
1019 ret++;
1020 }
1021
1022 return ret;
1023}
1024
1025void LiveCapture::previewToggle_toggled(bool checked)
1026{

Callers 2

setRemoteHostMethod · 0.80
closeEventMethod · 0.80

Calls 3

GetCaptureFunction · 0.85
itemMethod · 0.80
countMethod · 0.45

Tested by

no test coverage detected