2004-03-16 19:27:48 +00:00
|
|
|
;
|
|
|
|
; Ullrich von Bassewitz, 2003-12-30
|
|
|
|
;
|
2012-03-04 13:08:54 +00:00
|
|
|
; void mouse_hide (void);
|
2004-03-16 19:27:48 +00:00
|
|
|
; /* Hide the mouse. The function manages a counter and may be called more than
|
2014-06-30 09:10:35 +00:00
|
|
|
; ** once. For each call to mouse_hide there must be a call to mouse_show to make
|
|
|
|
; ** the mouse visible again.
|
|
|
|
; */
|
2004-03-16 19:27:48 +00:00
|
|
|
;
|
|
|
|
|
|
|
|
.include "mouse-kernel.inc"
|
|
|
|
|
|
|
|
.proc _mouse_hide
|
|
|
|
|
2013-05-09 11:56:54 +00:00
|
|
|
lda _mouse_hidden ; Get the flag
|
|
|
|
bne @L1 ; Jump if already invisible
|
|
|
|
jsr mouse_hide ; Call the driver
|
|
|
|
@L1: inc _mouse_hidden ; Set the flag to invisible
|
|
|
|
rts
|
2004-03-16 19:27:48 +00:00
|
|
|
|
|
|
|
.endproc
|