mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-26 00:26:52 +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 ; …᫨ ¥ ®¤ ¨§ ª®¯®ª ¥ ¦ â ¢®§¢à é ¥¬áï
|
||||
@ -79,6 +46,43 @@ ctx_menu_mouse:
|
||||
ja ctx_menu_exit
|
||||
|
||||
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