CLIM mail archive
[Prev][Next][Index][Thread]
Does ink affect non-drawn text?
-
To: iexist!att!bbn.com!clim@iexist.att.com
-
Subject: Does ink affect non-drawn text?
-
From: lgm@iexist.att.com
-
Date: Thu, 2 Jan 1992 13:30-0600
-
Character-Type-Mappings: (1 0 (NIL 0) (NIL :BOLD NIL) "CPTFONTCB")
-
Fonts: CPTFONT, CPTFONTCB
-
Original-From: Lawrence G. Mayka <iexist!lgm>
Consider the following function:
(defun color-text1 0(ink)
(clim:with-drawing-options (nil :ink ink)
(write-line "hi there")
(values)))
Should "hi there" always print in the foreground color, or should its
presence/absence/color depend in some way on the argument to COLOR-TEXT?
On my monochrome Symbolics XL1200, passing COLOR-TEXT a sufficiently
dark color such as CLIM:+GREEN+ causes "hi there" to print (in black on
a white background, i.e. the foreground color); passing COLOR-TEXT a
lighter color such as CLIM:+CYAN+ causes "hi there" not to show up at
all. (Presumably, it is printing in the background color.)
Lawrence G. Mayka
AT&T Bell Laboratories
lgm@iexist.att.com
Standard disclaimer.
Follow-Ups:
Main Index |
Thread Index