Subversion Repositories Kolibri OS

Rev

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

Rev 36 Rev 41
Line 597... Line 597...
597
        sub     esp, drbar.stack_data
597
        sub     esp, drbar.stack_data
Line 598... Line 598...
598
 
598
 
Line 599... Line 599...
599
        mov     [drbar.color], edi
599
        mov     [drbar.color], edi
-
 
600
 
600
 
601
        sub     edx, ebx
-
 
602
        jle     .exit          ;// mike.dld, 2005-01-29
601
        sub     edx, ebx
603
        sub     ecx, eax
602
        sub     ecx, eax
604
        jle     .exit          ;// mike.dld, 2005-01-29
Line 603... Line 605...
603
        mov     [drbar.bar_sy], edx
605
        mov     [drbar.bar_sy], edx
604
        mov     [drbar.bar_sx], ecx
606
        mov     [drbar.bar_sx], ecx
Line 614... Line 616...
614
 
616
 
615
        ; real_sx = MIN(wnd_sx-bar_cx, bar_sx);
617
        ; real_sx = MIN(wnd_sx-bar_cx, bar_sx);
616
        mov     ebx, [edi-twdw + 8] ; ebx = wnd_sx
618
        mov     ebx, [edi-twdw + 8] ; ebx = wnd_sx
617
        sub     ebx, [drbar.bar_cx]
619
        sub     ebx, [drbar.bar_cx]
-
 
620
        ja      @f
618
        ja      @f
621
  .exit:                       ;// mike.dld, 2005-01-29
619
        add     esp, drbar.stack_data
622
        add     esp, drbar.stack_data
620
        popad
623
        popad
621
        xor     eax, eax
624
        xor     eax, eax