Subversion Repositories Kolibri OS

Rev

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

Rev 54 Rev 57
Line 1321... Line 1321...
1321
 
1321
 
1322
        movzx eax,word [0xfb0a]
1322
        movzx eax,word [0xfb0a]
1323
        cmp   eax,[edi+0]
1323
        cmp   eax,[edi+0]
1324
        jb    nnepx
1324
        jb    nnepx
1325
        sub   eax,[edi+0]
1325
        sub   eax,[edi+0]
1326
        cmp   eax,[edx+0x90+8]
1326
        cmp   eax,32 ; [edx+0x90+8]
1327
        jge   nnepx2
1327
        jge   nnepx2
1328
        mov   eax,[edx+0x90+8]
1328
        mov   eax,32 ; [edx+0x90+8]
1329
      nnepx2:
1329
      nnepx2:
1330
        mov   [npxe],eax
1330
        mov   [npxe],eax
Line 1331... Line 1331...
1331
      nnepx:
1331
      nnepx:
1332
 
1332
 
1333
        call    get_titlebar_height
1333
        call    get_rolledup_height
1334
        mov     ebx,eax
1334
        mov     ebx,eax
1335
        movzx eax,word [0xfb0c]
1335
        movzx eax,word [0xfb0c]
1336
        cmp   eax,[edi+4]
1336
        cmp   eax,[edi+4]
Line 1383... Line 1383...
1383
        cmp   [reposition],1         ; save new position and size
1383
        cmp   [reposition],1         ; save new position and size
1384
        jne   no_bounds_save
1384
        jne   no_bounds_save
1385
        ; 
1385
        ; 
1386
        push  esi edi ecx
1386
        push  esi edi ecx
1387
        mov   esi,edi
1387
        mov   esi,edi
-
 
1388
        mov   ecx,2
-
 
1389
        test  [edi+WDATA.fl_wstate],WSTATE_ROLLEDUP or WSTATE_MAXIMIZED
-
 
1390
        jnz   @f
-
 
1391
        add   ecx,2
1388
        sub   edi,window_data
1392
    @@: sub   edi,window_data
1389
        shr   edi,5
1393
        shr   edi,5
1390
        shl   edi,8
1394
        shl   edi,8
1391
        add   edi,0x80000+0x90
1395
        add   edi,0x80000+0x90
1392
        mov   ecx,4
-
 
1393
        cld
1396
        cld
1394
        rep   movsd
1397
        rep   movsd
1395
        pop   ecx edi esi
1398
        pop   ecx edi esi
1396
        ; 
1399
        ; 
1397
      no_bounds_save:
1400
      no_bounds_save: