modify example

git-svn-id: svn://kolibrios.org@491 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Alexey Teplov (
2007-05-14 07:26:15 +00:00
parent 189a524abf
commit 59af2cd6af
3 changed files with 13 additions and 24 deletions
@@ -291,13 +291,12 @@ edit_ex
;----------------------------------------------------------
;--- ­¥ 㤥ন¢ ¥¬ «¨ ¬ë ª« ¢¨èã ¬ë誨, ¯¥à¥¬¥é ï ªãàá®à, ¢® ¢á¥ à §­ë¥ áâ®à®­ë?
;----------------------------------------------------------
mov ecx,procinfo
test word ed_flags,ed_mouse_on
jne .mouse_wigwag
;----------------------------------------------------------
;--- ¯à®¢¥à塞, ¯®¯ ¤ ¥â «¨ ªãàá®à ¢ edit box -------------
;----------------------------------------------------------
mov ebx,dword [ecx+38]
mov ebx,[procinfo.box.top]
add ebx,ed_top
if scr_h eq
else
@@ -312,7 +311,7 @@ end if
shr eax,16
mov ebx,dword [ecx+34]
mov ebx,[procinfo.box.left]
add ebx,ed_left
if scr_w eq
else
@@ -330,8 +329,7 @@ end if
call .clear_cursor
pop eax
._mvpos:
mov ecx,procinfo
mov ebx,dword [ecx+34]
mov ebx,dword [procinfo.box.left]
xor edx,edx
sub eax,ed_left
sub eax,ebx
@@ -424,8 +422,7 @@ use_key_func
;;;;;;;;;;;;;;;;;;
;;¯à®æ¥¤ãà  ®¡à ¡®âª¨ ¯®«®¦¥­¨ï ¢ë¤¥«¥­­®£® ⥪áâ , ª®£¤  ¯à®¨á室¨â ¢ë室 §  ¯à¥¤¥«ë editbox
;;;;;;;;;;;;;;;;;;
mov ecx,procinfo
mov ebx,dword [ecx+34]
mov ebx,[procinfo.box.left]
add ebx,ed_left
if scr_w eq
else