diff options
| author | Simon Tatham <anakin@pobox.com> | 2005-03-15 14:24:45 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2005-03-15 14:24:45 +0000 |
| commit | 134418abf77438979430f92747902a00e4473f52 (patch) | |
| tree | 26a1605ff032ebf1264c98b4ddce3fd1b6601f87 | |
| parent | f64dcb909da33543b9b5c0f421be84c5c984f503 (diff) | |
| download | puzzles-134418abf77438979430f92747902a00e4473f52.zip puzzles-134418abf77438979430f92747902a00e4473f52.tar.gz puzzles-134418abf77438979430f92747902a00e4473f52.tar.bz2 puzzles-134418abf77438979430f92747902a00e4473f52.tar.xz | |
Oops. Just noticed that the Windows front end completely ignores the
`colour' parameter in draw_text().
[originally from svn r5507]
| -rw-r--r-- | windows.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); } |