Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  1. draw_edit:
  2.     pusha
  3.  
  4.     mov     eax , 13
  5.     mov     ebx , 75 shl 16 + 116
  6.     mov     ecx , 10 shl 16 + 15
  7.     mov     edx , [sc.gui_face]
  8.     int     0x40
  9.  
  10.     mov     eax , 38
  11.     mov     ebx , 74 shl 16 + 191
  12.     mov     ecx , 9  shl 16 + 9
  13.     mov     edx , [sc.3d_light]
  14.     int     0x40
  15.     mov     ecx , 25 shl 16 + 25
  16.     int     0x40
  17.     mov     ecx , 8  shl 16 + 8
  18.     mov     edx , [sc.gui_inframe]
  19.     int     0x40
  20.     mov     ecx , 26 shl 16 + 26
  21.     int     0x40
  22.  
  23.     mov     eax , 38
  24.     mov     ebx , 74 shl 16 + 74
  25.     mov     ecx , 9  shl 16 + 25
  26.     mov     edx , [sc.3d_light]
  27.     int     0x40
  28.     mov     ebx , 191 shl 16 + 191
  29.     int     0x40
  30.     mov     edx , [sc.gui_inframe]
  31.     mov     ebx , 192 shl 16 + 192
  32.     int     0x40
  33.     mov     ebx , 73 shl 16 + 73
  34.     int     0x40
  35.  
  36.     mov     eax,4
  37.     mov     ecx,[sc.gui_intext]
  38.     add     ecx,0xC0000000
  39.     mov     edi,[sc.gui_face]
  40.  
  41.     mov     edx,[edit_cnt]
  42.     cmp     edx,1
  43.     jne     @f
  44.     mov     edx,edit_win
  45.     mov     ebx,115*65536 + 14
  46.     jmp     draw_edit_exit
  47.   @@:
  48.     cmp     edx,2
  49.     jne     @f
  50.     mov     edx,edit_btn
  51.     mov     ebx,115*65536 + 14
  52.     jmp     draw_edit_exit
  53.   @@:
  54.     cmp     edx,3
  55.     jne     @f
  56.     mov     edx,edit_gui
  57.     mov     ebx,112*65536 + 14
  58.     jmp     draw_edit_exit
  59.   @@:
  60.     mov     edx,edit_cld
  61.     mov     ebx,112*65536 + 14
  62.   draw_edit_exit:
  63.     int     0x40
  64.     popa
  65. ret
  66.