Subversion Repositories Kolibri OS

Rev

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

Rev 150 Rev 155
Line 1404... Line 1404...
1404
     ; ebx color
1404
     ; ebx color
1405
     ; ecx start of text
1405
     ; ecx start of text
1406
     ; edx length
1406
     ; edx length
1407
     ; edi 1 force
1407
     ; edi 1 force
Line 1408... Line 1408...
1408
 
1408
 
1409
        mov     edi,[0x3000]
1409
;        mov     edi,[0x3000]
1410
        shl     edi,8
1410
;        shl     edi,8
1411
        add     ax,word[edi+0x80000+APPDATA.wnd_clientbox.top]
1411
;        add     ax,word[edi+0x80000+APPDATA.wnd_clientbox.top]
1412
        rol     eax,16
1412
;        rol     eax,16
1413
        add     ax,word[edi+0x80000+APPDATA.wnd_clientbox.left]
1413
;        add     ax,word[edi+0x80000+APPDATA.wnd_clientbox.left]
Line 1414... Line 1414...
1414
        rol     eax,16
1414
;        rol     eax,16
1415
 
1415
 
1416
     mov   edx,eax
1416
     mov   edx,eax
1417
     mov   ecx,65
1417
     mov   ecx,65
1418
     sub   ecx,eax
1418
     sub   ecx,eax
1419
     add   ecx,esp
1419
     add   ecx,esp
1420
     add   ecx,4
1420
     add   ecx,4
1421
     mov   eax,[esp+64+32-8+4]
1421
     mov   eax,[esp+64+32-8+4]
1422
     push  edx                       ; add window start x & y
1422
     push  edx                       ; add window start x & y
-
 
1423
     mov   edx,[0x3010]
1423
     mov   edx,[0x3010]
1424
     mov   ebx,[edx-twdw+WDATA.box.left]
1424
     mov   ebx,[edx-twdw+WDATA.box.left]
1425
        add     ebx, [(edx-0x3000)*8+0x80000+APPDATA.wnd_clientbox.left]
-
 
1426
     shl   ebx,16
1425
     shl   ebx,16
1427
     add   ebx,[edx-twdw+WDATA.box.top]
1426
     add   ebx,[edx-twdw+WDATA.box.top]
1428
        add     ebx, [(edx-0x3000)*8+0x80000+APPDATA.wnd_clientbox.top]
1427
     add   eax,ebx
1429
     add   eax,ebx
1428
     pop   edx
1430
     pop   edx
1429
     mov   ebx,[esp+64+32-12+4]
1431
     mov   ebx,[esp+64+32-12+4]