Fixed the mini tile box. It still refreshes the whole screen when clicking a tile. But anyway all that shit will be remade someday.
This commit is contained in:
parent
9fa2003bc5
commit
85ca9b12e3
|
@ -286,7 +286,7 @@ LRESULT CALLBACK TileViewBoxProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lPar
|
||||||
|
|
||||||
LRESULT MiniTileViewBox_Paint(HWND hwnd, tileview_struct * win, WPARAM wParam, LPARAM lParam)
|
LRESULT MiniTileViewBox_Paint(HWND hwnd, tileview_struct * win, WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
HWND hwnd_src = GetDlgItem(hwnd, IDC_Tile_BOX);
|
HWND hwnd_src = GetDlgItem(GetParent(hwnd), IDC_Tile_BOX);
|
||||||
HDC hdc_src;
|
HDC hdc_src;
|
||||||
HDC hdc_dst;
|
HDC hdc_dst;
|
||||||
char txt[80];
|
char txt[80];
|
||||||
|
|
Loading…
Reference in New Issue