draw.c: Support for coloring objects with CONNECTEDFLAG set
commitccd3c17d72e4e126d534a22ba359ba5cdd834456
authorPeter Clifton <peter@clifton-electronics.co.uk>
Sun, 23 Dec 2012 02:41:31 +0000 (23 02:41 +0000)
committerPeter Clifton <peter@clifton-electronics.co.uk>
Sun, 30 Dec 2012 10:50:59 +0000 (30 10:50 +0000)
treefa92a9d428cb85667d143b558be77ae4b8efcbf8
parent012049f3f58adb798b3f517abb8b67d1950db221
draw.c: Support for coloring objects with CONNECTEDFLAG set

We now color objects with the FOUNDFLAG set in the FoundColor, not the
ConnectedColor as we did previously. Unsurprisingly, objects with the
CONNECTEDFLAG set get rendered in the ConnectedColor.

CONNECTEDFLAG is tested before FOUNDFLAG, and takes precidence if an
object has both flags set.
src/draw.c
src/undo.h