Oops. Just noticed that the Windows front end completely ignores the
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 15 Mar 2005 14:24:45 +0000 (14:24 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 15 Mar 2005 14:24:45 +0000 (14:24 +0000)
`colour' parameter in draw_text().

git-svn-id: svn://svn.tartarus.org/sgt/puzzles@5507 cda61777-01e9-0310-a592-d414129be87e

windows.c

index 2833969..127311e 100644 (file)
--- a/windows.c
+++ b/windows.c
@@ -227,6 +227,7 @@ void draw_text(frontend *fe, int x, int y, int fonttype, int fontsize,
                x -= size.cx;
        }
        SetBkMode(fe->hdc_bm, TRANSPARENT);
+       SetTextColor(fe->hdc_bm, fe->colours[colour]);
        TextOut(fe->hdc_bm, x, y, text, strlen(text));
        SelectObject(fe->hdc_bm, oldfont);
     }