Subversion Repositories Kolibri OS

Rev

Rev 3985 | Rev 4027 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. BGRedrawThread:
  2.  
  3.         mcall   40,010000b
  4.  
  5. BGRTRedrawIcons:
  6.      @@:
  7.         cmp     [bIcoBuff],1   ;¤«ï ¡«®ª¨à®¢ª¨ ¯à¥à¥à¨á®¢ª¨ ¨ª®­®ª
  8.         jne     @f
  9.         mcall   5,1
  10.         jmp     @b
  11.      @@:
  12.  
  13.         mov     [bIcoBuff],1
  14.  
  15.         mcall   48,5
  16.         mov     dx,ax
  17.         shr     eax,16
  18.         sub     dx,ax
  19.         mov     [ScreenX],dx
  20.         mov     ax,bx
  21.         shr     ebx,16
  22.         sub     ax,bx
  23.         mov     [ScreenY],ax
  24.  
  25.         mov     ecx,[MaxNumIcon]
  26.         test    ecx,ecx
  27.         jz      .NoDraw
  28.         xor     ebx,ebx
  29.     @@: push    ecx
  30.         cmp     [IconNoDraw],ebx
  31.         je      .nd
  32.         stdcall DrawIcon,ebx,0
  33.       .nd:
  34.         inc     ebx
  35.         pop     ecx
  36.         loop    @b
  37.    .NoDraw:
  38.  
  39.         mov     [bIcoBuff],0
  40.  
  41.  
  42. BGRTmessages:
  43.         mcall   10
  44.         sub     eax,5
  45.         jz      BGRTRedrawIcons
  46.  
  47.         jmp     BGRTmessages
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.