Subversion Repositories Kolibri OS

Rev

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

  1. draw_menu_bar:
  2.     mov   ecx,[skin_high]
  3.     shl   ecx,16
  4.     mov   cx,19
  5.     mov   ebx,[window_width]
  6.     sub   ebx,9
  7.     add   ebx,5 shl 16
  8.     mcall 13,,,0xcccccc
  9.     add   ecx,37 shl 16
  10.     mov   cx,3
  11.     mcall
  12.     push  ecx
  13.     add   ecx,16 shl 16
  14.     mcall
  15.     add   ecx,16 shl 16
  16.     mov   cx,1
  17.     mcall
  18.     pop   ecx
  19.     add   ecx,3 shl 16
  20.     mov   eax,[window_high]
  21.     shr   ecx,16
  22.     sub   eax,ecx
  23.     sub   eax,4
  24.     shl   ecx,16
  25.     add   ecx,eax
  26.     mov   bx,2
  27.     sub   ecx,33
  28.     mcall 13
  29.     push  ebx
  30.     ror   ebx,16
  31.     mov   bx,[right_panel_x.start_x]
  32.     sub   bx,2
  33.     rol   ebx,16
  34.     mcall
  35.     pop   ebx
  36.     mov   ax,cx
  37.     dec   ax
  38.     shl   eax,16
  39.     add   ecx,eax
  40.     mov   cx,3
  41.     mov   eax,[window_width]
  42.     mov   bx,ax
  43.     sub   ebx,9
  44.     mcall 13
  45.     add   ecx,15 shl 16
  46.     mcall
  47.     ret