chiark
/
gitweb
/
~ian
/
sgt-puzzles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f64dcb9
)
Oops. Just noticed that the Windows front end completely ignores the
author
Simon Tatham
<anakin@pobox.com>
Tue, 15 Mar 2005 14:24:45 +0000
(14:24 +0000)
committer
Simon Tatham
<anakin@pobox.com>
Tue, 15 Mar 2005 14:24:45 +0000
(14:24 +0000)
`colour' parameter in draw_text().
[originally from svn r5507]
windows.c
patch
|
blob
|
history
diff --git
a/windows.c
b/windows.c
index 2833969b0ba88e9c36bb903638093296cdf54fca..127311e002b3514a8605a5be200b16127493018f 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);
}