win32_gui: implement background glyph rendering

try to use system TrasnparentBlt (or not)
This commit is contained in:
Alex Kompel
2015-06-09 08:34:11 -07:00
parent 2601583121
commit afa0e95e66
7 changed files with 153 additions and 107 deletions
+1 -1
View File
@@ -1056,7 +1056,7 @@ onDrawItem(HWND hWnd, WPARAM wParam, LPARAM lParam)
if (GetNHApp()->bmpMapTiles == GetNHApp()->bmpTiles) {
/* using original nethack tiles - apply image transparently */
nhapply_image_transparent(lpdis->hDC, x, y, TILE_X, TILE_Y,
(*GetNHApp()->lpfnTransparentBlt)(lpdis->hDC, x, y, TILE_X, TILE_Y,
tileDC, t_x, t_y, TILE_X, TILE_Y,
TILE_BK_COLOR);
} else {