Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Completely revised framebuffer for Win32.
New features: - Pan and Zoom. Use mouse wheel to zoom, and LMB to pan. - Window is now resizable again since we support pan/zoom. - Numpad 0 to center image and zoom to "Actual Pixels" (100% zoom). - Caption bar now displays current zoom factor and basename of image filename instead of full path. - Many UI tweaks and enhancements such as image auto-centered when window is resized. Note: Code uses GdiPlus for better image resizing. (No new third-party dependencies needed).
- Loading branch information
Showing
5 changed files
with
305 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.