Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 3310 → Rev 3311

/programs/system/panel/trunk/ctx_menu.asm
24,6 → 24,30
jmp ctx_menu_still
;------------------------------------------------------------------------------
align 4
ctx_menu_mouse:
mcall 37,2
xchg eax,ecx ; …᫨ ­¥ ®¤­  ¨§ ª­®¯®ª ­¥ ­ ¦ â  ¢®§¢à é ¥¬áï
; ¢ £« ¢­ë© 横« ¯®â®ª 
jecxz ctx_menu_still
 
mcall 37,1
 
cmp ax, 0 ; ’ã⠯஢¥à塞 ¯à®¨§®èñ«-«¨ ª«¨ª §  ¯à¥¤¥« ¬¨ ®ª­  ª®­â¥ªáâ­®£®
jb ctx_menu_exit ; ¬¥­î, ¥á«¨ §  ¯à¥¤¥« ¬¨ â® § ªà뢠¥¬ ª®­â¥ªáâ­®¥ ¬¥­î
 
cmp ax, 60 ; 41
ja ctx_menu_exit
 
shr eax, 16
cmp ax, 0
jb ctx_menu_exit
 
cmp ax, 133
ja ctx_menu_exit
 
jmp ctx_menu_still
;------------------------------------------------------------------------------
align 4
ctx_menu_key:
mcall 2
;--------------------------------------
33,10 → 57,14
cmp ah, 1
jne @f
 
mov eax, 18
mov ebx, 2
mov ecx, [n_slot]
jmp .lllxxx
; mov eax, 18
; mov ebx, 2
; mov ecx, [n_slot]
; jmp .lllxxx
mcall 18,3,[n_slot]
mcall 72,1,3,1
mcall 68,1
jmp ctx_menu_exit
;--------------------------------------
align 4
@@:
57,30 → 85,6
jmp ctx_menu_exit
;--------------------------------------
align 4
ctx_menu_mouse:
mcall 37,2
xchg eax,ecx ; …᫨ ­¥ ®¤­  ¨§ ª­®¯®ª ­¥ ­ ¦ â  ¢®§¢à é ¥¬áï
; ¢ £« ¢­ë© 横« ¯®â®ª 
jecxz ctx_menu_still
 
mcall 37,1
 
cmp ax, 0 ; ’ã⠯஢¥à塞 ¯à®¨§®èñ«-«¨ ª«¨ª §  ¯à¥¤¥« ¬¨ ®ª­  ª®­â¥ªáâ­®£®
jb ctx_menu_exit ; ¬¥­î, ¥á«¨ §  ¯à¥¤¥« ¬¨ â® § ªà뢠¥¬ ª®­â¥ªáâ­®¥ ¬¥­î
 
cmp ax, 60 ; 41
ja ctx_menu_exit
 
shr eax, 16
cmp ax, 0
jb ctx_menu_exit
 
cmp ax, 133
ja ctx_menu_exit
 
jmp ctx_menu_still
;--------------------------------------
align 4
ctx_menu_exit:
or eax,-1
mcall