From 135014b0e2f642ed767814170e26d42b3224185c Mon Sep 17 00:00:00 2001 From: eAndrew Date: Thu, 26 Feb 2015 15:03:52 +0000 Subject: [PATCH] notify: closing by git-svn-id: svn://kolibrios.org@5476 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/system/notify3/notify.asm | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/programs/system/notify3/notify.asm b/programs/system/notify3/notify.asm index 54aab258b7..6bfb6fbb20 100644 --- a/programs/system/notify3/notify.asm +++ b/programs/system/notify3/notify.asm @@ -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