win32: change mapview tool scroll display to indicate that it is useless, because it is

This commit is contained in:
zeromus 2009-07-27 19:57:36 +00:00
parent 642ce3a115
commit bb85744a6f
1 changed files with 7 additions and 7 deletions

View File

@ -154,13 +154,13 @@ LRESULT MapView_OnPaint(mapview_struct * win, HWND hwnd, WPARAM wParam, LPARAM l
sprintf(text, "%d x %d", (int)MainScreen.gpu->BGSize[win->map][0], (int)MainScreen.gpu->BGSize[win->map][1]); sprintf(text, "%d x %d", (int)MainScreen.gpu->BGSize[win->map][0], (int)MainScreen.gpu->BGSize[win->map][1]);
SetWindowText(GetDlgItem(hwnd, IDC_MSIZE), text); SetWindowText(GetDlgItem(hwnd, IDC_MSIZE), text);
if (win->map==2) { //if (win->map==2) {
parms = &(MainScreen.gpu->dispx_st)->dispx_BG2PARMS; // parms = &(MainScreen.gpu->dispx_st)->dispx_BG2PARMS;
} else { //} else {
parms = &(MainScreen.gpu->dispx_st)->dispx_BG3PARMS; // parms = &(MainScreen.gpu->dispx_st)->dispx_BG3PARMS;
} //}
sprintf(text, "%d x %d", parms->BGxPC, parms->BGxPD); //sprintf(text, "%d x %d", parms->BGxX, parms->BGxY);
SetWindowText(GetDlgItem(hwnd, IDC_SCROLL), text); SetWindowText(GetDlgItem(hwnd, IDC_SCROLL), "useless");
for(int i = 0; i < ARRAY_SIZE(win->bitmap); i++) for(int i = 0; i < ARRAY_SIZE(win->bitmap); i++)
win->bitmap[i] = 0x7C1F; win->bitmap[i] = 0x7C1F;