Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType Demo Programs
Commits:
-
4b583864
by Alexei Podtelezhnikov at 2021-11-15T03:01:59-05:00
-
2a56a6b2
by Alexei Podtelezhnikov at 2021-11-15T03:07:02-05:00
2 changed files:
Changes:
... | ... | @@ -5,7 +5,7 @@ |
5 | 5 |
/* Copyright (C) 1996-2021 by */
|
6 | 6 |
/* D. Turner, R.Wilhelm, and W. Lemberg */
|
7 | 7 |
/* */
|
8 |
-/* grblit.c: Support for alpha blending with gamma correction and caching. */
|
|
8 |
+/* gblblit.c: Alpha blending with gamma correction and caching. */
|
|
9 | 9 |
/* */
|
10 | 10 |
/****************************************************************************/
|
11 | 11 |
|
... | ... | @@ -305,6 +305,8 @@ gr_win32_surface_set_icon( grWin32Surface* surface, |
305 | 305 |
return 0;
|
306 | 306 |
case ICON_BIG:
|
307 | 307 |
surface->bIcon = hIcon;
|
308 |
+ SetClassLongPtr( surface->window, GCLP_HBRBACKGROUND,
|
|
309 |
+ (LONG_PTR)CreatePatternBrush( ici.hbmColor ) );
|
|
308 | 310 |
return s[0];
|
309 | 311 |
default:
|
310 | 312 |
return 0; /* should not happen */
|