Commit Graph

344 Commits

Author SHA1 Message Date
Bert
d731741f04 Handle WM_DELETE_WINDOW messages correctly, thanks to fungt 2011-02-09 10:01:49 +01:00
Bert
603e664f7c Nicer fit window to image 2011-02-06 17:40:48 +01:00
Bert
8339bb7ee7 New key mapping: W, resize window to fit image 2011-02-04 00:25:57 +01:00
Bert
096c0ed935 Removed some warnings 2011-02-03 22:05:13 +01:00
Bert
414fa567ce Split img_fit into internal/external function 2011-02-03 16:55:24 +01:00
Bert
c6556f8cc7 New key mappings: 0/w, zoom to 100%/to fit window 2011-02-03 16:14:49 +01:00
Bert
bad9a70a48 Display filesize in window title 2011-02-03 14:32:02 +01:00
Bert
12a94cc40e Manual event handling in main.c 2011-02-03 10:55:23 +01:00
Bert
8f4af658ae Refactored, new files util.[ch], C89 2011-02-03 10:15:01 +01:00
Bert
f5c125b3ee Fixed stupid memory leak in read_dir_rec 2011-02-02 20:46:56 +01:00
Bert
bbd7b7d595 New option: -r, open all images in directories 2011-02-02 10:34:14 +01:00
Bert
2afb989cc4 Skeleton for -r 2011-02-02 09:01:05 +01:00
Bert
5a682426b1 New key command: r, reload image 2011-01-31 16:06:40 +01:00
Bert
802c344879 Check file timestamps before loading from cache 2011-01-31 15:51:26 +01:00
Bert
f7a66469e6 Nicer key handling, does not fix problems 2011-01-30 20:46:48 +01:00
Bert
03bfe1015e Explicitly enable printing of warnings 2011-01-30 16:39:16 +01:00
Bert
c52c4fa69e Mouse-panning while pressing button2 2011-01-29 22:37:40 +01:00
Bert
019e2274a8 Map arrow keys to h/j/k/l 2011-01-28 13:42:39 +01:00
Bert
f47092cda2 Complete mouse support 2011-01-26 18:38:54 +01:00
Bert
0497a7f69d Merge remote branch 'falconindy/mouse' 2011-01-26 17:48:11 +01:00
Bert
7834dee6e7 Added a key-mapping for toggle anti-aliasing 2011-01-26 14:59:32 +01:00
Bert
64a5366508 Added <,> mappings to rotate image 2011-01-26 14:42:10 +01:00
Bert
d3da0eb71e Added man page 2011-01-23 18:20:08 +01:00
Bert
2b1c0885fe Implemented fullscreen mode 2011-01-23 16:14:41 +01:00
Dave Reisner
9a35f40224 main.c: add zooming on mousewheel events
Signed-off-by: Dave Reisner <d@falconindy.com>
2011-01-23 09:46:25 -05:00
Bert
6fed8db854 Added [,] mappings for go 10 images back/forward 2011-01-23 12:36:27 +01:00
Bert
2f7bd169ea Added g/G mappings for goto first/last image 2011-01-22 23:37:13 +01:00
Bert
0f714bccda Handle window resize events properly 2011-01-22 23:27:29 +01:00
Bert
b92ebf67ee Implemented panning 2011-01-21 13:48:02 +01:00
Bert
c7860b690b Stricter object encapsulation 2011-01-21 12:57:35 +01:00
Bert
629d37376d Merged img_display() into img_render() 2011-01-21 12:13:52 +01:00
Bert
b900105a4e Removed debug output 2011-01-21 10:41:50 +01:00
Bert
2d5247af4a More robust key handling 2011-01-21 10:30:10 +01:00
Bert
bb12b8c0fb First try on zooming 2011-01-20 23:22:00 +01:00
Bert
029e1208b9 No more expose handling 2011-01-20 21:44:34 +01:00
Bert
08018427c6 Put some useful information in the window title 2011-01-20 17:00:59 +01:00
Bert
a732e75d8a Check all given files before open the first 2011-01-20 16:24:48 +01:00
Bert
004f297ebb Go to next/previous image 2011-01-20 16:04:34 +01:00
Bert
00f32120a6 Handle expose events 2011-01-20 15:39:08 +01:00
Bert
8b3b28300f Made parse_options void 2011-01-19 18:16:44 +01:00
Bert
a7e30bb081 Option handling, merged app.c & events.c into main.c 2011-01-19 14:07:45 +01:00
Bert
544fd83718 Reordered function definitions 2011-01-18 15:33:25 +01:00
Bert
b9cd06df95 Basic main skeleton 2011-01-17 16:41:50 +01:00
Bert
e7bc3bb71b Non-working skeleton 2011-01-17 14:57:59 +01:00