Subversion Repositories Kolibri OS

Rev

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

Rev 379 Rev 380
Line 165... Line 165...
165
 
165
 
166
        push    edi
166
        push    edi
167
        mov     edi,[CURRENT_TASK]
167
        mov     edi,[CURRENT_TASK]
168
        shl     edi,8
168
        shl     edi,8
169
        rol     eax,16
169
        rol     eax,16
170
        add     ax,word[edi+0x80000+APPDATA.wnd_clientbox.left]
170
        add     ax,word[edi+SLOT_BASE+APPDATA.wnd_clientbox.left]
171
        rol     eax,16
171
        rol     eax,16
172
        rol     ebx,16
172
        rol     ebx,16
173
        add     bx,word[edi+0x80000+APPDATA.wnd_clientbox.top]
173
        add     bx,word[edi+SLOT_BASE+APPDATA.wnd_clientbox.top]
174
        rol     ebx,16
174
        rol     ebx,16
175
        pop     edi
175
        pop     edi
Line 176... Line 176...
176
  .forced:
176
  .forced:
Line 501... Line 501...
501
;......................end   1/2 : modified by vhanla .............................
501
;......................end   1/2 : modified by vhanla .............................
Line 502... Line 502...
502
 
502
 
Line 503... Line 503...
503
    ; check that button is at top of windowing stack
503
    ; check that button is at top of windowing stack
504
 
504
 
505
    movzx ebx,word [eax]
505
    movzx ebx,word [eax]
506
    movzx ecx,word [0xC000 + ebx * 2]
506
    movzx ecx,word [WIN_STACK + ebx * 2]
Line 507... Line 507...
507
    cmp   ecx,[TASK_COUNT]
507
    cmp   ecx,[TASK_COUNT]