Subversion Repositories Kolibri OS

Rev

Rev 483 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 483 Rev 491
Line 289... Line 289...
289
;----------------------------------------------------------
289
;----------------------------------------------------------
290
@@:     mcall   37,0
290
@@:     mcall   37,0
291
;----------------------------------------------------------
291
;----------------------------------------------------------
292
;--- € ­¥ 㤥ন¢ ¥¬ «¨ ¬ë ª« ¢¨èã ¬ë誨, ¯¥à¥¬¥é ï ªãàá®à, ¢® ¢á¥ à §­ë¥ áâ®à®­ë?
292
;--- € ­¥ 㤥ন¢ ¥¬ «¨ ¬ë ª« ¢¨èã ¬ë誨, ¯¥à¥¬¥é ï ªãàá®à, ¢® ¢á¥ à §­ë¥ áâ®à®­ë?
293
;----------------------------------------------------------
293
;----------------------------------------------------------
294
        mov     ecx,procinfo
-
 
295
        test    word ed_flags,ed_mouse_on
294
        test    word ed_flags,ed_mouse_on
296
        jne     .mouse_wigwag
295
        jne     .mouse_wigwag
297
;----------------------------------------------------------
296
;----------------------------------------------------------
298
;--- ¯à®¢¥à塞, ¯®¯ ¤ ¥â «¨ ªãàá®à ¢ edit box -------------
297
;--- ¯à®¢¥à塞, ¯®¯ ¤ ¥â «¨ ªãàá®à ¢ edit box -------------
299
;----------------------------------------------------------
298
;----------------------------------------------------------
300
        mov     ebx,dword [ecx+38]
299
        mov     ebx,[procinfo.box.top]
301
        add     ebx,ed_top
300
        add     ebx,ed_top
302
if scr_h eq 
301
if scr_h eq 
303
else
302
else
304
        add     ebx,scr_h
303
        add     ebx,scr_h
305
end if
304
end if
Line 310... Line 309...
310
        cmp     ax,bx
309
        cmp     ax,bx
311
        jg      ._blur;.mouse_end_no_focus
310
        jg      ._blur;.mouse_end_no_focus
Line 312... Line 311...
312
 
311
 
Line 313... Line 312...
313
        shr     eax,16
312
        shr     eax,16
314
 
313
 
315
        mov     ebx,dword [ecx+34]
314
        mov     ebx,[procinfo.box.left]
316
        add     ebx,ed_left
315
        add     ebx,ed_left
317
if scr_w eq 
316
if scr_w eq 
318
else
317
else
Line 328... Line 327...
328
        push    eax
327
        push    eax
329
        mov     ebp,ed_color
328
        mov     ebp,ed_color
330
        call    .clear_cursor
329
        call    .clear_cursor
331
        pop     eax
330
        pop     eax
332
._mvpos:
331
._mvpos:
333
        mov     ecx,procinfo
-
 
334
        mov     ebx,dword [ecx+34]
332
        mov     ebx,dword [procinfo.box.left]
335
        xor     edx,edx
333
        xor     edx,edx
336
        sub     eax,ed_left
334
        sub     eax,ed_left
337
        sub     eax,ebx
335
        sub     eax,ebx
338
if scr_w eq 
336
if scr_w eq 
339
else
337
else
Line 422... Line 420...
422
        shr     eax,16
420
        shr     eax,16
423
        or      word ed_flags,ed_shift_bac+ed_shift_on+ed_shift
421
        or      word ed_flags,ed_shift_bac+ed_shift_on+ed_shift
424
;;;;;;;;;;;;;;;;;;
422
;;;;;;;;;;;;;;;;;;
425
;;¯à®æ¥¤ãà  ®¡à ¡®âª¨ ¯®«®¦¥­¨ï ¢ë¤¥«¥­­®£® ⥪áâ , ª®£¤  ¯à®¨á室¨â ¢ë室 §  ¯à¥¤¥«ë editbox
423
;;¯à®æ¥¤ãà  ®¡à ¡®âª¨ ¯®«®¦¥­¨ï ¢ë¤¥«¥­­®£® ⥪áâ , ª®£¤  ¯à®¨á室¨â ¢ë室 §  ¯à¥¤¥«ë editbox
426
;;;;;;;;;;;;;;;;;;
424
;;;;;;;;;;;;;;;;;;
427
        mov     ecx,procinfo
425
        mov     ebx,[procinfo.box.left]
428
        mov     ebx,dword [ecx+34]
-
 
429
        add     ebx,ed_left
426
        add     ebx,ed_left
430
if scr_w eq 
427
if scr_w eq 
431
else
428
else
432
        add     ebx,scr_w
429
        add     ebx,scr_w
433
end if
430
end if