simon-svn: puzzles: simon
tartarus-commits at lists.tartarus.org
tartarus-commits at lists.tartarus.org
Wed Apr 27 20:39:20 BST 2005
SVN root: svn://ixion.tartarus.org/main
Changes by: simon
Revision: 5693
Date: 2005-04-27 20:39:20 +0100 (Wed, 27 Apr 2005)
Log message (11 lines):
Patches for GTK 2. Puzzles already _built_ under GTK 2, but now it
builds better:
- the GTK makefile now defines $(GTK_CONFIG) which you can
override, so you can build for GTK 2 with no makefile-editing
simply by running `make GTK_CONFIG="pkg_config gtk+-2.0"'
- we use Pango to find appropriate fonts, which means the text in
the puzzles actually (gasp!) adapts its size to the
circumstances. Unfortunately, I've been unable to do this
portably without depending on _either_ a Pango function that
isn't present in older versions _or_ the underlying window system
being X11; I'd appreciate someone doing better.
Modified files:
U puzzles/gtk.c
U puzzles/mkfiles.pl
Links:
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi?rev=5693&view=rev
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/gtk.c?rev=5693&r1=5692&r2=5693
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/mkfiles.pl?rev=5693&r1=5692&r2=5693
More information about the tartarus-commits
mailing list