forked from KolibriOS/kolibrios
kernel: combine display related data in one structure
git-svn-id: svn://kolibrios.org@5351 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -526,7 +526,7 @@ mouse._.find_sys_window_under_cursor: ;////////////////////////////////////////
|
||||
mov esi, [mouse.state.pos.y]
|
||||
mov esi, [d_width_calc_area + esi*4]
|
||||
|
||||
add esi, [_WinMapAddress]
|
||||
add esi, [_display.win_map]
|
||||
add esi, [mouse.state.pos.x]
|
||||
movzx esi, byte[esi]
|
||||
mov edi, esi
|
||||
|
@@ -1893,7 +1893,7 @@ align 4
|
||||
mov edi, [d_width_calc_area + ebx*4]
|
||||
|
||||
add edi, eax
|
||||
add edi, [_WinMapAddress]
|
||||
add edi, [_display.win_map]
|
||||
pop eax
|
||||
mov ah, al
|
||||
push ax
|
||||
@@ -1935,7 +1935,7 @@ align 4
|
||||
mov eax, [d_width_calc_area + ebx*4]
|
||||
|
||||
add eax, [esp]
|
||||
add eax, [_WinMapAddress]
|
||||
add eax, [_display.win_map]
|
||||
mov ebp, eax
|
||||
|
||||
mov edi, [edi + APPDATA.wnd_shape]
|
||||
|
Reference in New Issue
Block a user