mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-25 16:16:50 +03:00
@PANEL - Safe shutdown programs through the menu - not more killing, only CPU (Task Manager) can the killing processes.
git-svn-id: svn://kolibrios.org@3311 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
7f9ee006fe
commit
c0eb0eb462
@ -24,39 +24,6 @@ ctx_menu_still:
|
||||
jmp ctx_menu_still
|
||||
;------------------------------------------------------------------------------
|
||||
align 4
|
||||
ctx_menu_key:
|
||||
mcall 2
|
||||
;--------------------------------------
|
||||
align 4
|
||||
ctx_menu_button:
|
||||
mcall 17
|
||||
cmp ah, 1
|
||||
jne @f
|
||||
|
||||
mov eax, 18
|
||||
mov ebx, 2
|
||||
mov ecx, [n_slot]
|
||||
jmp .lllxxx
|
||||
;--------------------------------------
|
||||
align 4
|
||||
@@:
|
||||
cmp ah, 2
|
||||
jne ctx_menu_still
|
||||
mov eax, 18
|
||||
mov ebx, 22
|
||||
mov edx, [n_slot]
|
||||
xor ecx, ecx
|
||||
|
||||
test [procinfo_for_detect+70],byte 2
|
||||
setnz cl
|
||||
add cl, cl
|
||||
;--------------------------------------
|
||||
align 4
|
||||
.lllxxx:
|
||||
mcall
|
||||
jmp ctx_menu_exit
|
||||
;--------------------------------------
|
||||
align 4
|
||||
ctx_menu_mouse:
|
||||
mcall 37,2
|
||||
xchg eax,ecx ; …᫨ ¥ ®¤ ¨§ ª®¯®ª ¥ ¦ â ¢®§¢à é ¥¬áï
|
||||
@ -78,7 +45,44 @@ ctx_menu_mouse:
|
||||
cmp ax, 133
|
||||
ja ctx_menu_exit
|
||||
|
||||
jmp ctx_menu_still
|
||||
jmp ctx_menu_still
|
||||
;------------------------------------------------------------------------------
|
||||
align 4
|
||||
ctx_menu_key:
|
||||
mcall 2
|
||||
;--------------------------------------
|
||||
align 4
|
||||
ctx_menu_button:
|
||||
mcall 17
|
||||
cmp ah, 1
|
||||
jne @f
|
||||
|
||||
; 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
|
||||
@@:
|
||||
cmp ah, 2
|
||||
jne ctx_menu_still
|
||||
mov eax, 18
|
||||
mov ebx, 22
|
||||
mov edx, [n_slot]
|
||||
xor ecx, ecx
|
||||
|
||||
test [procinfo_for_detect+70],byte 2
|
||||
setnz cl
|
||||
add cl, cl
|
||||
;--------------------------------------
|
||||
align 4
|
||||
.lllxxx:
|
||||
mcall
|
||||
jmp ctx_menu_exit
|
||||
;--------------------------------------
|
||||
align 4
|
||||
ctx_menu_exit:
|
||||
|
Loading…
Reference in New Issue
Block a user