mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 16:05:44 -07:00
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:
@ -227,6 +227,7 @@ void draw_text(frontend *fe, int x, int y, int fonttype, int fontsize,
|
|||||||
x -= size.cx;
|
x -= size.cx;
|
||||||
}
|
}
|
||||||
SetBkMode(fe->hdc_bm, TRANSPARENT);
|
SetBkMode(fe->hdc_bm, TRANSPARENT);
|
||||||
|
SetTextColor(fe->hdc_bm, fe->colours[colour]);
|
||||||
TextOut(fe->hdc_bm, x, y, text, strlen(text));
|
TextOut(fe->hdc_bm, x, y, text, strlen(text));
|
||||||
SelectObject(fe->hdc_bm, oldfont);
|
SelectObject(fe->hdc_bm, oldfont);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user