You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -226,28 +228,35 @@ with the terms of said license.
226
228
(FLASHWINDOW NIL N])
227
229
228
230
(FLASHWINDOW
229
-
[LAMBDA (WIN? N FLASHINTERVAL SHADE) (* bvm%: "16-Jul-85 12:20")
230
-
(* ; "This is an 'attention getting' action.")
231
-
(* ;
232
-
"rrb --- added shade argument so contrast of flash could be explored.")
231
+
[LAMBDA (WIN? N FLASHINTERVAL SHADE) (* ; "Edited 6-Jan-2022 19:08 by rmk")
232
+
(* bvm%: "16-Jul-85 12:20")
233
+
(* ;
234
+
"This is an 'attention getting' action.")
235
+
(* ;
236
+
"rrb --- added shade argument so contrast of flash could be explored.")
233
237
(OR (FIXP N)
234
238
(SETQ N 1))
235
239
(OR (FIXP FLASHINTERVAL)
236
240
(SETQ FLASHINTERVAL 200))
237
241
[COND
238
-
((WINDOWP WIN?)
239
-
(SETQ WIN? (GETSTREAM WIN? 'OUTPUT]
242
+
(WIN?
243
+
(* ;;
244
+
"RMK: GETSTREAM even if not a window. Catches T, other streams. But NIL still means whole screen")
245
+
246
+
(SETQ WIN? (GETSTREAM WIN? 'OUTPUT]
240
247
(for I to N bind (WHOLEP _ (NOT (DISPLAYSTREAMP WIN?)))
241
248
COLORP first [COND
242
249
(WHOLEP (SETQ COLORP (NULL (VIDEOCOLOR]
243
250
do (UNINTERRUPTABLY
244
-
(* ;
245
-
"Open-coded 'during' loops so that no one else can sneak in and steal cycles")
251
+
(* ;
252
+
"Open-coded 'during' loops so that no one else can sneak in and steal cycles")
246
253
(COND
247
-
[WHOLEP (* ; "Flash the whole screen")
254
+
[WHOLEP (* ; "Flash the whole screen")
248
255
(VIDEOCOLOR (PROG1 (VIDEOCOLOR COLORP)
249
256
(DISMISS FLASHINTERVAL NIL T]
250
-
(T (* ;; "Although VIDEOCOLOR is nearly instantaneous, INVERTW may require a time approaching the interval time and thus this path could be much longer")
257
+
(T
258
+
(* ;; "Although VIDEOCOLOR is nearly instantaneous, INVERTW may require a time approaching the interval time and thus this path could be much longer")
259
+
251
260
(INVERTW WIN? SHADE)
252
261
(DISMISS FLASHINTERVAL NIL T)
253
262
(INVERTW WIN? SHADE))))
@@ -907,26 +916,26 @@ with the terms of said license.
907
916
)
908
917
909
918
(RPAQQ RINGBELLS.L1 ((1000 . 1000)
910
-
(800 . 1000)
911
-
(600 . 1000)
912
-
(500 . 1000)
913
-
(400 . 1000)
914
-
(NIL . 500)
915
-
(440 . 1000)
916
-
(484 . 1000)
917
-
(540 . 1000)
918
-
(600 . 1000)))
919
+
(800 . 1000)
920
+
(600 . 1000)
921
+
(500 . 1000)
922
+
(400 . 1000)
923
+
(NIL . 500)
924
+
(440 . 1000)
925
+
(484 . 1000)
926
+
(540 . 1000)
927
+
(600 . 1000)))
919
928
920
929
(RPAQQ RINGBELLS.L2 ((2000 . 1000)
921
-
(1600 . 1000)
922
-
(1200 . 1000)
923
-
(1000 . 1000)
924
-
(800 . 1000)
925
-
(NIL . 500)
926
-
(880 . 1000)
927
-
(968 . 1000)
928
-
(1080 . 1000)
929
-
(1188 . 1000)))
930
+
(1600 . 1000)
931
+
(1200 . 1000)
932
+
(1000 . 1000)
933
+
(800 . 1000)
934
+
(NIL . 500)
935
+
(880 . 1000)
936
+
(968 . 1000)
937
+
(1080 . 1000)
938
+
(1188 . 1000)))
930
939
(DECLARE%: DOEVAL@COMPILE DONTCOPY
931
940
932
941
(LOCALVARS . T)
@@ -937,27 +946,27 @@ with the terms of said license.
0 commit comments