"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/backend/imageGrabber/WinImageGrabber.cpp" between
ksnip-1.8.1.tar.gz and ksnip-1.8.2.tar.gz

About: ksnip is a Qt based cross-platform screenshot tool that provides many annotation features for your screenshots.

WinImageGrabber.cpp  (ksnip-1.8.1):WinImageGrabber.cpp  (ksnip-1.8.2)
skipping to change at line 35 skipping to change at line 35
{ {
addSupportedCaptureMode(CaptureModes::RectArea); addSupportedCaptureMode(CaptureModes::RectArea);
addSupportedCaptureMode(CaptureModes::LastRectArea); addSupportedCaptureMode(CaptureModes::LastRectArea);
addSupportedCaptureMode(CaptureModes::FullScreen); addSupportedCaptureMode(CaptureModes::FullScreen);
addSupportedCaptureMode(CaptureModes::ActiveWindow); addSupportedCaptureMode(CaptureModes::ActiveWindow);
addSupportedCaptureMode(CaptureModes::CurrentScreen); addSupportedCaptureMode(CaptureModes::CurrentScreen);
} }
QRect WinImageGrabber::activeWindowRect() const QRect WinImageGrabber::activeWindowRect() const
{ {
return mWinWrapper->getActiveWindowRect(); auto rect = mWinWrapper->getActiveWindowRect();
return mHdpiScaler.unscale(rect);
} }
QRect WinImageGrabber::fullScreenRect() const QRect WinImageGrabber::fullScreenRect() const
{ {
return mWinWrapper->getFullScreenRect(); auto rect = mWinWrapper->getFullScreenRect();
return mHdpiScaler.unscale(rect);
} }
CursorDto WinImageGrabber::getCursorWithPosition() const CursorDto WinImageGrabber::getCursorWithPosition() const
{ {
return mWinWrapper->getCursorWithPosition(); return mWinWrapper->getCursorWithPosition();
} }
 End of changes. 2 change blocks. 
2 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)