[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Color Text on CAD Buffer II



    Date: Sat, 29 Sep 90 10:12 EDT
    From: pan@Athena.Pangaro.Dialnet.Symbolics.Com (Paul Pangaro)

    It seems like a simple request: I want to output lines of text in different colors,
    depending on their importance to the user: red for critical, yellow for important, etc.

    However the color documentation is a maze of non-indexed, elliptical stuff about ALUs,
    char-alus, sc-fill-alus and so forth. I have played around for half an hour but without
    seeming to get anywhere, and certainly not with colored text. If I had time, I too could 
    become expert at it, but instead I ask the experts: anyone have a simple way to do
    multi- or vary-colored text, without blowing away the usual background/foreground colors?
    Thanks.

Have you tried this?

  (graphics:draw-whatever ... :pattern color:*red*)

I believe this is supposed to work on any kind of device; it works on my
B&W monitor by choosing a gray which is different from that for *yellow*, 
although it is identical to that for *blue*.  If you want different
output appearance and you don't care what the actual appearance on the
screen is, you might choose to use GRAPHICS:MAKE-CONTRASTING-PATTERN,
which is documented someplace.