Commit graph

223 commits

Author SHA1 Message Date
Harry Jeffery c9a6fd6dc5 Add imv_image class 2015-11-10 14:57:26 +00:00
Harry Jeffery 1f9f863af5 Rework navigator linked list management 2015-11-10 11:50:17 +00:00
Harry Jeffery dee573e5d5 De-globalise the renderer 2015-11-10 11:35:33 +00:00
Harry Jeffery 2684293bf8 Use correct paths when recursing 2015-11-10 11:33:17 +00:00
Harry Jeffery de773b5fe0 Fix invalid path skipping 2015-11-10 11:33:00 +00:00
Harry Jeffery f99e409f2d Add recursive option 2015-11-10 11:26:05 +00:00
Harry Jeffery ed0cf79ce1 Fix a crash when no input files were valid 2015-11-10 11:26:05 +00:00
Harry Jeffery 7567416c17 Use navigator class to manage input files 2015-11-10 11:11:58 +00:00
Harry Jeffery b134bd7a3c Add navigator class 2015-11-10 11:11:38 +00:00
Harry Jeffery 81a497850c Add missing copyright notices 2015-11-10 01:16:32 +00:00
Harry Jeffery 64251e45e4 Use new imv_texture class 2015-11-10 01:13:09 +00:00
Harry Jeffery 7c8c33aa19 Add imv_texture object 2015-11-10 00:54:24 +00:00
Harry Jeffery 60e9d6f61a Add an option for auto-centering images 2015-11-09 23:56:07 +00:00
Harry Jeffery cedaf52814 Improve view centering 2015-11-09 23:45:34 +00:00
Harry Jeffery 99d16ae8d0 Don't include processing time in delta time 2015-11-09 23:38:05 +00:00
Harry Jeffery 8cef4f5df6 Fix exotically (i.e. awfully) made gif playback 2015-11-09 23:34:05 +00:00
Harry Jeffery b35dbbadc7 Improve handling of animated gifs 2015-11-09 23:15:42 +00:00
Harry Jeffery cddbed5054 Improve error handling 2015-11-09 22:22:57 +00:00
Harry Jeffery 74dd54f8a6 Rename render_image --> push_img_to_gpu 2015-11-09 22:15:06 +00:00
Harry Jeffery 8966e7cd45 Split images into texture chunks instead of resampling 2015-11-09 22:06:54 +00:00
Harry Jeffery ef8a08f733 Center image when auto-scaling 2015-11-09 16:02:00 +00:00
Harry Jeffery acb80e111b Resample overlarge images 2015-11-09 15:58:36 +00:00
Harry Jeffery 52be29f60b Provide detailed usage 2015-11-09 15:27:25 +00:00
Harry Jeffery dfda9199a4 Make error logging clearer 2015-11-09 15:27:16 +00:00
Harry Jeffery 805dc87e62 Update README 2015-11-09 14:56:46 +00:00
Harry Jeffery 81879fdb8b Add some command line options 2015-11-09 14:53:45 +00:00
Harry Jeffery 984f35cb72 Add 's' hotkey to scale image to fit window 2015-11-09 14:33:39 +00:00
Harry Jeffery 6df6d18a31 Let spacebar toggle gif playback 2015-11-09 14:26:48 +00:00
Harry Jeffery 5597a6cc98 Add animated gif support to features in README 2015-11-09 14:11:33 +00:00
Harry Jeffery bd0afa25b0 Add regular playback support for animated gifs 2015-11-09 14:03:55 +00:00
Harry Jeffery cbf161ff5e Add step by step gif animation support 2015-11-09 12:18:18 +00:00
Harry Jeffery 9c3ae1d958 Add fullscreen mode 2015-11-06 20:18:18 +00:00
Harry Jeffery efc20d77a8 Improve scaled rendering quality 2015-11-06 20:17:42 +00:00
Harry Jeffery 2cefa55f57 Fix skip ordering 2015-11-06 20:17:42 +00:00
Harry Jeffery dd2a922423 Remove scale restriction 2015-11-06 20:17:42 +00:00
Harry Jeffery f5231d3e7d Add [,] and +,- shortcuts 2015-11-06 20:17:39 +00:00
Harry Jeffery d2db32a1fc Update readme 2015-11-06 18:20:52 +00:00
Harry Jeffery 981c791ee9 Tweak args parsing 2015-11-06 17:48:31 +00:00
Harry Jeffery ae9ef12787 Accept paths from stdin 2015-11-06 17:18:30 +00:00
Harry Jeffery 4df9227dad Add license to main.c 2015-11-06 17:02:31 +00:00
Harry Jeffery a4259b506c Add install target to makefile 2015-11-06 16:57:40 +00:00
Harry Jeffery 84fbc12863 Put filename in window title 2015-11-06 16:52:59 +00:00
Harry Jeffery 1df31addab Renamed g_path.{reload,changed} 2015-11-06 16:48:56 +00:00
Harry Jeffery 04643759d0 Refactor rendering 2015-11-06 16:43:10 +00:00
Harry Jeffery 76d4eeb34e Let x = close current image 2015-11-06 16:42:31 +00:00
Harry Jeffery ae019a01fa Merge freeimage.c into main.c 2015-11-06 16:19:08 +00:00
Harry Jeffery 7ebfb17b85 Compress keyboard switch statement 2015-11-06 16:13:20 +00:00
Harry Jeffery c8baf09498 Add r to reset view shortcut 2015-11-06 16:11:54 +00:00
Harry Jeffery 6792180fc7 Remove disused files 2015-11-06 14:38:13 +00:00
Harry Jeffery 196d10737f Don't link to unused librarys 2015-11-06 14:25:27 +00:00