MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / fullScrennShot

Method fullScrennShot

source/util/recorder.cpp:67–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67void Recorder::fullScrennShot() {
68 BString fileName(this->directory);
69
70 this->screenShotCount++;
71 fileName.append(Fs::nativePathSeperator);
72 fileName.append("screenshot");
73 fileName.append(BString::valueOf(this->screenShotCount));
74 fileName.append(".bmp");
75 KNativeSystem::getScreen()->screenShot(fileName, nullptr, 0);
76 out("SCREENSHOT=");
77 out(Fs::getFileNameFromNativePath(fileName).c_str());
78 out("\r\n");
79}
80
81void Recorder::partialScreenShot(U32 x, U32 y, U32 w, U32 h) {
82 BString fileName(this->directory);

Callers

nothing calls this directly

Calls 4

screenShotMethod · 0.80
outFunction · 0.50
appendMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected