aboutsummaryrefslogtreecommitdiff
path: root/src/viewport.c
AgeCommit message (Collapse)Author
2019-07-03Big glfw refactorHarry Jeffery
I did a lot of this in a very ad-hoc fashion with no proper commit history. As such, the kindest thing to do seemed to be to just squash it into this one commit.
2019-06-12Add support for hidpi renderingHarry Jeffery
This fixes #148 but only when used with a version of SDL that includes this patch: https://bugzilla.libsdl.org/show_bug.cgi?id=4521
2019-02-10Tweak allocation sizeof operator usageHarry Jeffery
2017-12-07Make viepwort interface opaqueHarry Jeffery
2017-11-26Make imv_image interface opaqueHarry Jeffery
2017-11-26Rename imv_texture -> imv_imageHarry Jeffery
2017-11-25Don't duplicate license text in all source filesHarry Jeffery
If moving to dual-licensing, this text will be confusing. It's also a lot of noise.
2017-08-22Remove year from copyright noticesHarry Jeffery
It was falling out of date, and has no legal bearing to my knowledge.
2017-08-06Prevent scrolling images indefinitely off-screenDrew DeVault
With this change, if you scroll the image well beyond the viewport, scrolling any amount in the other direction will immediately bring it back on screen.
2017-04-14Refactor viewport to new styleHarry Jeffery
2016-04-26Add vim modelinesDmitrij D. Czarkoff
2015-12-28Remove names from file copyright headersHarry Jeffery
2015-12-10Clean up redraw logicHarry Jeffery
2015-12-10fix images not resizing when toggling fullscreen modeAleksandra Kosiacka
fixes #31
2015-11-28Remove unused parameterHarry Jeffery
2015-11-27Retrive viewport image dimensions from texture, not loaderHarry Jeffery
2015-11-19Rename imv_image -> imv_loader to prepare for refactoringHarry Jeffery
2015-11-14Rework zoomingHarry Jeffery
2015-11-12Relicence imv to GPLv2+Harry Jeffery
2015-11-11Tweak scalingHarry Jeffery
2015-11-11Improve zooming behaviourHarry Jeffery
2015-11-11Zoom into thingsJose Diez
2015-11-11Center into image when the mouse is outside boundsJose Diez
2015-11-11Improved zoom behaviourJose Diez
2015-11-11Add -a flag and update usageHarry Jeffery
2015-11-11viewport_reset -> viewport_scale_to_window, add viewport_scale_to_actualJose Diez
2015-11-11Viewport: autoscale and center by default unless interacted withJose Diez
2015-11-11Update makefile to use a build directoryHarry Jeffery