Subversion Repositories Kolibri OS

Rev

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

Rev 120 Rev 137
Line 1405... Line 1405...
1405
     ; ebx color
1405
     ; ebx color
1406
     ; ecx start of text
1406
     ; ecx start of text
1407
     ; edx length
1407
     ; edx length
1408
     ; edi 1 force
1408
     ; edi 1 force
Line -... Line 1409...
-
 
1409
 
-
 
1410
        mov     edi,[0x3000]
-
 
1411
        shl     edi,8
-
 
1412
        add     ax,word[edi+0x80000+APPDATA.wnd_clientbox.top]
-
 
1413
        rol     eax,16
-
 
1414
        add     ax,word[edi+0x80000+APPDATA.wnd_clientbox.left]
-
 
1415
        rol     eax,16
1409
 
1416
 
1410
     mov   edx,eax
1417
     mov   edx,eax
1411
     mov   ecx,65
1418
     mov   ecx,65
1412
     sub   ecx,eax
1419
     sub   ecx,eax
1413
     add   ecx,esp
1420
     add   ecx,esp
Line 1818... Line 1825...
1818
    mov  esi,[0x3010]
1825
    mov  esi,[0x3010]
1819
    mov  bx, word [esi-twdw+WDATA.box.left]
1826
    mov  bx, word [esi-twdw+WDATA.box.left]
1820
    shl  ebx,16
1827
    shl  ebx,16
1821
    mov  bx, word [esi-twdw+WDATA.box.top]
1828
    mov  bx, word [esi-twdw+WDATA.box.top]
1822
    sub  eax,ebx
1829
    sub  eax,ebx
-
 
1830
 
-
 
1831
        mov     edi,[0x3000]
-
 
1832
        shl     edi,8
-
 
1833
        sub     ax,word[edi+0x80000+APPDATA.wnd_clientbox.top]
-
 
1834
        rol     eax,16
-
 
1835
        sub     ax,word[edi+0x80000+APPDATA.wnd_clientbox.left]
-
 
1836
        rol     eax,16
-
 
1837
 
1823
    mov  [esp+36],eax
1838
    mov  [esp+36],eax
1824
    ret
1839
    ret
1825
  nowr:
1840
  nowr:
Line 1826... Line 1841...
1826
 
1841