simon-svn: puzzles: simon
tartarus-commits at lists.tartarus.org
tartarus-commits at lists.tartarus.org
Wed Dec 27 15:21:55 GMT 2006
SVN root: svn://ixion.tartarus.org/main
Changes by: simon
Revision: 7022
Date: 2006-12-27 15:21:55 +0000 (Wed, 27 Dec 2006)
Log message (5 lines):
Aha, this seems to be a more sensible way of getting screenshots:
instead of having the puzzle binary export its window ID to a script
which then runs xwd, we can use the gdk-pixbuf library to have the
puzzle binary _itself_ read its own internal pixmap and save it
straight to a PNG. How handy. And faster, and less timing-sensitive.
Modified files:
U puzzles/gtk.c
U puzzles/icons/screenshot.sh
Links:
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi?rev=7022&view=rev
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/gtk.c?rev=7022&r1=7021&r2=7022
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/icons/screenshot.sh?rev=7022&r1=7021&r2=7022
More information about the tartarus-commits
mailing list