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:
|
||||
|
||||
mcall 40, 101b
|
||||
|
||||
;----------------------------
|
||||
|
||||
;; CHECK FOR PARAMS
|
||||
cmpne [@params], byte 0, parse
|
||||
mov eax, @params
|
||||
@ -324,6 +320,7 @@
|
||||
update:
|
||||
mcall 23, 10
|
||||
cmpe al, EV_REDRAW, redraw
|
||||
cmpe al, EV_KEY, key
|
||||
cmpe al, EV_BUTTON, exit
|
||||
|
||||
mov eax, [timer.step]
|
||||
@ -347,6 +344,13 @@
|
||||
|
||||
;----------------------------
|
||||
|
||||
key:
|
||||
mcall 2
|
||||
cmpne ah, 27, update
|
||||
jmp exit
|
||||
|
||||
;----------------------------
|
||||
|
||||
redraw:
|
||||
call draw_window
|
||||
call draw_text
|
||||
|
Loading…
Reference in New Issue
Block a user