home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / mac / programm / 21047 < prev    next >
Encoding:
Text File  |  1993-01-08  |  1.5 KB  |  44 lines

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