Subversion Repositories Kolibri OS

Rev

Rev 4027 | 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.  
  8.         mov     [wsXe],ax
  9.         mov     [wsYe],bx
  10.  
  11.         mov     dx,ax
  12.         shr     eax,16
  13.         mov     [wsX],ax
  14.         sub     dx,ax
  15.         mov     [wsW],dx
  16.  
  17.         mov     ax,bx
  18.         shr     ebx,16
  19.         mov     [wsY],bx
  20.         sub     ax,bx
  21.         mov     [wsH],ax
  22.  
  23.         mcall   14
  24.         mov     [ScreenH],ax
  25.         shr     eax,16
  26.         mov     [ScreenW],ax
  27.  
  28.         mov     ecx,[MaxNumIcon]
  29.         test    ecx,ecx
  30.         jz      .NoDraw
  31.         xor     ebx,ebx
  32.     @@: push    ecx
  33.         cmp     [IconNoDraw],ebx
  34.         je      .nd
  35.         stdcall DrawIcon,ebx,0
  36.       .nd:
  37.         inc     ebx
  38.         pop     ecx
  39.         loop    @b
  40.    .NoDraw:
  41.  
  42. BGRTmessages:
  43.         mcall   10
  44.         sub     eax,5
  45.         jz      BGRTRedrawIcons
  46.  
  47.         jmp     BGRTmessages
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.