Subversion Repositories Kolibri OS

Rev

Rev 4007 | 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.         mcall   48,5
  7.         mov     dx,ax
  8.         shr     eax,16
  9.         sub     dx,ax
  10.         mov     [ScreenX],dx
  11.         mov     ax,bx
  12.         shr     ebx,16
  13.         sub     ax,bx
  14.         mov     [ScreenY],ax
  15.  
  16.         mov     ecx,[MaxNumIcon]
  17.         test    ecx,ecx
  18.         jz      .NoDraw
  19.         xor     ebx,ebx
  20.     @@: push    ecx
  21.         cmp     [IconNoDraw],ebx
  22.         je      .nd
  23.         stdcall DrawIcon,ebx,0
  24.       .nd:
  25.         inc     ebx
  26.         pop     ecx
  27.         loop    @b
  28.    .NoDraw:
  29.  
  30. BGRTmessages:
  31.         mcall   10
  32.         sub     eax,5
  33.         jz      BGRTRedrawIcons
  34.  
  35.         jmp     BGRTmessages
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.