forked from KolibriOS/kolibrios
delete cross_order for 38 function draw_line
git-svn-id: svn://kolibrios.org@752 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
eead8d2c64
commit
bda889fba8
@ -141,7 +141,7 @@ iglobal
|
|||||||
dd 0
|
dd 0
|
||||||
dd 0
|
dd 0
|
||||||
dd readmousepos ; 37-GetMousePosition_ScreenRelative,.
|
dd readmousepos ; 37-GetMousePosition_ScreenRelative,.
|
||||||
dd syscall_drawline ; 38-DrawLine
|
dd 0 ; 38-DrawLine
|
||||||
dd sys_getbackground ; 39-GetBackgroundSize,ReadBgrData,.
|
dd sys_getbackground ; 39-GetBackgroundSize,ReadBgrData,.
|
||||||
dd 0
|
dd 0
|
||||||
dd 0
|
dd 0
|
||||||
@ -221,7 +221,7 @@ iglobal
|
|||||||
dd syscall_getpixel ; 35-GetPixel
|
dd syscall_getpixel ; 35-GetPixel
|
||||||
dd undefined_syscall ; 36-reserved
|
dd undefined_syscall ; 36-reserved
|
||||||
dd cross_order ; 37-GetMousePosition_ScreenRelative,.
|
dd cross_order ; 37-GetMousePosition_ScreenRelative,.
|
||||||
dd cross_order ; 38-DrawLine
|
dd syscall_drawline ; 38-DrawLine
|
||||||
dd cross_order ; 39-GetBackgroundSize,ReadBgrData,.
|
dd cross_order ; 39-GetBackgroundSize,ReadBgrData,.
|
||||||
dd set_app_param ; 40-WantEvents
|
dd set_app_param ; 40-WantEvents
|
||||||
dd syscall_getirqowner ; 41-GetIrqOwner
|
dd syscall_getirqowner ; 41-GetIrqOwner
|
||||||
|
@ -5077,22 +5077,23 @@ align 4
|
|||||||
syscall_drawline: ; DrawLine
|
syscall_drawline: ; DrawLine
|
||||||
|
|
||||||
mov edi, [TASK_BASE]
|
mov edi, [TASK_BASE]
|
||||||
movzx edx, word[edi-twdw+WDATA.box.left]
|
movzx eax, word[edi-twdw+WDATA.box.left]
|
||||||
mov ebp, edx
|
mov ebp, eax
|
||||||
mov esi, [current_slot]
|
mov esi, [current_slot]
|
||||||
add ebp, [esi+APPDATA.wnd_clientbox.left]
|
add ebp, [esi+APPDATA.wnd_clientbox.left]
|
||||||
add dx, word[esi+APPDATA.wnd_clientbox.left]
|
add ax, word[esi+APPDATA.wnd_clientbox.left]
|
||||||
shl edx, 16
|
add ebp,ebx
|
||||||
add ebp, edx
|
shl eax, 16
|
||||||
movzx edx, word[edi-twdw+WDATA.box.top]
|
movzx ebx, word[edi-twdw+WDATA.box.top]
|
||||||
add eax, ebp
|
add eax, ebp
|
||||||
mov ebp, edx
|
mov ebp, ebx
|
||||||
add ebp, [esi+APPDATA.wnd_clientbox.top]
|
add ebp, [esi+APPDATA.wnd_clientbox.top]
|
||||||
add dx, word[esi+APPDATA.wnd_clientbox.top]
|
add bx, word[esi+APPDATA.wnd_clientbox.top]
|
||||||
shl edx, 16
|
add ebp, ecx
|
||||||
|
shl ebx, 16
|
||||||
xor edi, edi
|
xor edi, edi
|
||||||
add edx, ebp
|
add ebx, ebp
|
||||||
add ebx, edx
|
mov ecx, edx
|
||||||
jmp [draw_line]
|
jmp [draw_line]
|
||||||
|
|
||||||
align 4
|
align 4
|
||||||
|
Loading…
Reference in New Issue
Block a user