chiark / gitweb /
Split Untangle's background colour into two. COL_BACKGROUND is still
authorSimon Tatham <anakin@pobox.com>
Sun, 7 Apr 2013 10:44:56 +0000 (10:44 +0000)
committerSimon Tatham <anakin@pobox.com>
Sun, 7 Apr 2013 10:44:56 +0000 (10:44 +0000)
commit8cfcbac02795801b712e16492bbfeead35896b0c
tree61d32ce8cae3830b2fb7c2a7fead37a5c9834759
parentc0fff857fd910eb4af7eabd6ad08da554f694f43
Split Untangle's background colour into two. COL_BACKGROUND is still
defined the same way and used to draw the normal background of the
puzzle, but there's a new slightly darker COL_SYSBACKGROUND which is
not used for anything at all in the puzzle backend but which occupies
colour slot #0 so that the system will use it to fill around the
playable area if the puzzle is imprecisely resized.

This doesn't _sensibly fix_ the annoyance in Untangle where a non-
square window gives rise to unusable dead space, but it at least works
around it by making the dead space obviously something to stay away
from.

[originally from svn r9823]
untangle.c