HaikuDepot: Added rudimentary screenshot window

Operating Systems / Haiku - Stephan Aßmus [gmx.de] - 29 November 2014 16:07 UTC

Clicking the thumbnail in the package info area will now open a window where the full-size screenshot is downloaded and shown. There can only be one such screenshot window open. Navigating between multiple screenshots of a package is not yet implemented. Also, no caching, but this may be OK as it is, since one usually looks at these only once and doesn't want the harddrive filling up with screenshots.

d5ef985 HaikuDepot: Added rudimentary screenshot window.
src/apps/haikudepot/Jamfile | 2 +
src/apps/haikudepot/ui/MainWindow.cpp | 32 +++++
src/apps/haikudepot/ui/MainWindow.h | 4 +
src/apps/haikudepot/ui/PackageInfoView.cpp | 4 +-
src/apps/haikudepot/ui/PackageInfoView.h | 1 +
src/apps/haikudepot/ui/ScreenshotWindow.cpp | 204 +++++++++++++++++++++++++++
src/apps/haikudepot/ui/ScreenshotWindow.h | 56 ++++++++
7 files changed, 301 insertions(+), 2 deletions(-)

Upstream: cgit.haiku-os.org


  • Share