mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-25 16:16:50 +03:00
From <Lrz>:
Fix buf in editbox.mac git-svn-id: svn://kolibrios.org@645 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
d372427ef3
commit
b2579e99a5
@ -829,7 +829,7 @@ macro use_mouse_func scr_w
|
||||
;;;;;;;;;;;;;;;;;;
|
||||
;;¯à®æ¥¤ãà ®¡à ¡®âª¨ ¯®«®¦¥¨ï ¢ë¤¥«¥®£® ⥪áâ , ª®£¤ ¯à®¨á室¨â ¢ë室 § ¯à¥¤¥«ë editbox
|
||||
;;;;;;;;;;;;;;;;;;
|
||||
mov ebx,[procinfo.box.left]
|
||||
mov ebx,dword [procinfo+34]
|
||||
add ebx,ed_left
|
||||
if scr_w eq
|
||||
else
|
||||
@ -929,7 +929,7 @@ macro use_work_mause scr_h,scr_w
|
||||
;----------------------------------------------------------
|
||||
;--- ¯à®¢¥à塞, ¯®¯ ¤ ¥â «¨ ªãàá®à ¢ edit box -------------
|
||||
;----------------------------------------------------------
|
||||
mov ebx,[procinfo.box.top]
|
||||
mov ebx,dword [procinfo + 38]
|
||||
add ebx,ed_top
|
||||
if scr_h eq
|
||||
else
|
||||
@ -944,7 +944,7 @@ end if
|
||||
|
||||
shr eax,16
|
||||
|
||||
mov ebx,[procinfo.box.left]
|
||||
mov ebx,dword [procinfo + 34]
|
||||
add ebx,ed_left
|
||||
if scr_w eq
|
||||
else
|
||||
@ -962,7 +962,7 @@ end if
|
||||
call .clear_cursor
|
||||
pop eax
|
||||
._mvpos:
|
||||
mov ebx,dword [procinfo.box.left]
|
||||
mov ebx,dword [procinfo+ 34]
|
||||
xor edx,edx
|
||||
sub eax,ed_left
|
||||
sub eax,ebx
|
||||
|
Loading…
Reference in New Issue
Block a user