Commit graph

797 commits

Author SHA1 Message Date
Bert b92ebf67ee Implemented panning 2011-01-21 13:48:02 +01:00
Bert 72e56e5207 Made config.h a bit clearer 2011-01-21 12:58: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 44921e07aa Described options in config.h 2011-01-21 11:21:09 +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 9dc46c1d81 Nicer zooming 2011-01-21 10:29:31 +01:00
Bert bb12b8c0fb First try on zooming 2011-01-20 23:22:00 +01:00
Bert 376c0d90c7 Bigger background pixmap 2011-01-20 22:02:19 +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 eeb58886a5 Fixed initial window title 2011-01-20 16:32:16 +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 45db2881e2 Fixed filenames in parse_options() 2011-01-20 16:03:59 +01:00
Bert c399c1a085 Brighter default background color 2011-01-20 16:03:10 +01:00
Bert 00f32120a6 Handle expose events 2011-01-20 15:39:08 +01:00
Bert 822ef72657 Rebuild all object files after changing config.h 2011-01-20 15:37:06 +01:00
Bert 8b3b28300f Made parse_options void 2011-01-19 18:16:44 +01:00
Bert 6851d5c4e5 Removed im member from img struct 2011-01-19 18:03:32 +01:00
Bert a7e30bb081 Option handling, merged app.c & events.c into main.c 2011-01-19 14:07:45 +01:00
Bert 79c7e6178e Render image on window 2011-01-18 20:11:28 +01:00
Bert bb4edc756c Renamed FATAL to DIE 2011-01-18 17:21:59 +01:00
Bert 2a2f0307c1 Basic image loading 2011-01-18 17:20:41 +01:00
Bert 7121e7b468 Initialize imlib2 2011-01-18 16:40:37 +01:00
Bert 22db1ed361 Simplified keysym lookup 2011-01-18 16:38:37 +01:00
Bert fb6411ab5c Encapsulate window environment in win_env_t 2011-01-18 16:32:40 +01:00
Bert ab480ecc47 Fixed scalemode initialization 2011-01-18 15:37:44 +01:00
Bert 544fd83718 Reordered function definitions 2011-01-18 15:33:25 +01:00
Bert 2f4399d530 Added LICENSE 2011-01-18 15:29:18 +01:00
Bert 64b76b1602 Fixed compiler warning about missing include 2011-01-17 20:24:01 +01:00
Bert 45b2b45285 Small refactorings 2011-01-17 20:14:15 +01:00
Bert 75b143a5b0 Return value != 0 on Escape 2011-01-17 19:57:58 +01:00
Bert b5526c9db0 Gray window background 2011-01-17 19:53:48 +01:00
Bert 47d107edb5 React to ConfigureNotify 2011-01-17 19:50:46 +01:00
Bert 15603c25cf Added event loop 2011-01-17 18:32:28 +01:00
Bert 6e0db8c88d New BG_COLOR setting in config.h 2011-01-17 17:19:13 +01:00
Bert 8c240341f1 Added event handlers 2011-01-17 16:43:03 +01:00
Bert 49a69a357b Added win_open & win_close 2011-01-17 16:42:49 +01:00
Bert bbe7ae0470 WARN and FATAL macros 2011-01-17 16:42:13 +01:00
Bert b9cd06df95 Basic main skeleton 2011-01-17 16:41:50 +01:00
Bert 6d4c6daea0 Fixed scalemode enum 2011-01-17 16:41:22 +01:00
Bert 01121cea86 Basic app_* stuff 2011-01-17 16:40:54 +01:00
Bert 1f6af53f37 Fixed Makefile 2011-01-17 16:18:47 +01:00
Bert 7368382e4e added .gitignore 2011-01-17 16:18:23 +01:00
Bert e7bc3bb71b Non-working skeleton 2011-01-17 14:57:59 +01:00