/kernel/trunk/gui/mouse.inc |
---|
523,9 → 523,6 |
;< esi = process slot |
;< edi = pointer to WDATA struct |
;------------------------------------------------------------------------------ |
; mov esi, [Screen_Max_X] |
; inc esi |
; imul esi, [mouse.state.pos.y] |
mov esi, [mouse.state.pos.y] |
mov esi, [d_width_calc_area + esi*4] |
/kernel/trunk/gui/window.inc |
---|
1881,12 → 1881,7 |
; get WinMap start |
push esi |
; mov edi, [Screen_Max_X] |
; inc edi |
; mov esi, edi |
mov esi, [Screen_Max_X] |
inc esi |
; imul edi, ebx |
mov esi, [_display.width] |
mov edi, [d_width_calc_area + ebx*4] |
add edi, eax |
1929,9 → 1924,6 |
; get WinMap start -> ebp |
push eax |
; mov eax, [Screen_Max_X] ; screen_sx |
; inc eax |
; imul eax, ebx |
mov eax, [d_width_calc_area + ebx*4] |
add eax, [esp] |