forked from KolibriOS/kolibrios
notify: closing by <escape>
git-svn-id: svn://kolibrios.org@5476 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
7c431a8f82
commit
135014b0e2
@ -34,10 +34,6 @@
|
|||||||
|
|
||||||
@entry:
|
@entry:
|
||||||
|
|
||||||
mcall 40, 101b
|
|
||||||
|
|
||||||
;----------------------------
|
|
||||||
|
|
||||||
;; CHECK FOR PARAMS
|
;; CHECK FOR PARAMS
|
||||||
cmpne [@params], byte 0, parse
|
cmpne [@params], byte 0, parse
|
||||||
mov eax, @params
|
mov eax, @params
|
||||||
@ -324,6 +320,7 @@
|
|||||||
update:
|
update:
|
||||||
mcall 23, 10
|
mcall 23, 10
|
||||||
cmpe al, EV_REDRAW, redraw
|
cmpe al, EV_REDRAW, redraw
|
||||||
|
cmpe al, EV_KEY, key
|
||||||
cmpe al, EV_BUTTON, exit
|
cmpe al, EV_BUTTON, exit
|
||||||
|
|
||||||
mov eax, [timer.step]
|
mov eax, [timer.step]
|
||||||
@ -347,6 +344,13 @@
|
|||||||
|
|
||||||
;----------------------------
|
;----------------------------
|
||||||
|
|
||||||
|
key:
|
||||||
|
mcall 2
|
||||||
|
cmpne ah, 27, update
|
||||||
|
jmp exit
|
||||||
|
|
||||||
|
;----------------------------
|
||||||
|
|
||||||
redraw:
|
redraw:
|
||||||
call draw_window
|
call draw_window
|
||||||
call draw_text
|
call draw_text
|
||||||
|
Loading…
Reference in New Issue
Block a user