Oops. Just noticed that the Windows front end completely ignores the

`colour' parameter in draw_text().

[originally from svn r5507]
This commit is contained in:
Simon Tatham
2005-03-15 14:24:45 +00:00
parent f64dcb909d
commit 134418abf7

View File

@ -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);
}