home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!mcsun!sunic!kth.se!dront.nada.kth.se!d88-jwa
- From: d88-jwa@dront.nada.kth.se (Jon WΣtte)
- Subject: Re: foreground/background colors
- Message-ID: <1993Jan8.235018.5592@kth.se>
- Sender: usenet@kth.se (Usenet)
- Nntp-Posting-Host: dront.nada.kth.se
- Organization: Royal Institute of Technology, Stockholm, Sweden
- References: <1993Jan08.171841.26689@eng.umd.edu>
- Date: Fri, 8 Jan 1993 23:50:18 GMT
- Lines: 31
-
- In <1993Jan08.171841.26689@eng.umd.edu> jlohn@eng.umd.edu (Jason D. Lohn) writes:
-
- >As an experienced X-windows user, I really like being able to change
- >the fg and bg colors of my windows. Now I find myself using a mac
- >w/system 7 nearly all the time, and I'd like to have the same
- >capability. I've tried to find a program (pd/commercial) that can do
-
-
- Well, it's not easy.
-
- You could try patching RGBForeColor & RGBBackColor, and substitute
- the right values if the program passes white or black. You would
- probably also have to deal with PMForeColor, and if you're unlucky,
- ppats as well.
-
- Oh, and probably patch SetPort too, and maybe OpenCPort, to do the
- right thing when a port comes into focus, and when it's created
- (i.e. check the fore/back colors, and substitute them if they are
- black/white)
-
- However, something tells me it ain't that easy. You have highlight
- mode to consider for example...
-
- Cheers,
-
- / h+
- --
- -- Jon W{tte, h+@nada.kth.se, Mac Hacker Deluxe --
-
- Nothing crashes like a Macintosh.
- -- Guy Kawasaki
-