Substantial overhaul of colour handling in do_text(). Highlights include:
authorben <ben@cda61777-01e9-0310-a592-d414129be87e>
Tue, 26 Nov 2002 01:32:51 +0000 (01:32 +0000)
committerben <ben@cda61777-01e9-0310-a592-d414129be87e>
Tue, 26 Nov 2002 01:32:51 +0000 (01:32 +0000)
commit4d1565a4e13d50f482e9f2118121891825057adc
tree0a34f277a23f7a2d1b36cfff5254dedac8641a10
parentdf1a3e2cbd2b434ba2f0d2a77ae23de2804d2ceb
Substantial overhaul of colour handling in do_text().  Highlights include:
* No more mucking about with transfer modes.  We always set up the foreground
  and background sensibly, EraseRect the whole lot and use srcOr.  Apple
  Tech Note QD505 suggests that this should be faster than srcCopy.
* Always use the Palette Manager if we've got Color QuickDraw, even in 1bpp
  modes.
* Apply the cursor colours _after_ all the other stuff, rather than trying to
  get them through everything else intact.

Unfortunately, this doesn't make much difference to the speed.

git-svn-id: svn://svn.tartarus.org/sgt/putty@2259 cda61777-01e9-0310-a592-d414129be87e
mac/macterm.c