[comp.windows.x] xFish Monochrome.

powell@ole.UUCP (Gary Powell) (08/19/89)

I think xfish looks lots better with a black background, and therfore
white bubbles. As it unpacked the fish pixmaps were white on a black square
floating on a all white background. yuck! Otherwise yet another great 
background.

The fix: in init_colormap() apply this diff.
247,248c
	cmap[0] = cmap[rback] = white;
	bcolor = black;
.
-- 
   _Q   _Q    _Q     _Q  _Q_Q    _Q    _Q                                    _Q
  /_\) /_\)  /_\)   /_\)/_/\\)  /_\)  /_\)                    Gary Powell   /_\)
_O|/O_O|/O__O|/O___O|/O_OO|/O__O|/O__O|/O__________________________________O|/O_
uunet!uw-beaver!sumax!ole!powell            Seattle Silicon Corp. (206) 828-4422

powell@ole.UUCP (Gary Powell) (08/23/89)

My appologies to all, but I posted the wrong format of diff -e file1 file2
resulting in a previous patch which removed the fix I applied. (Which after
seeing that bit of handy work might not have been all that bad an idea.)
However, I am now posting a diff -c which patch can interpret to make the
background black and the bubbles white. (a much easier background to look at,
also the fish instead of being black rect. pixmaps disappear into the 
background.)

*** temp	Fri Aug 18 14:56:32 1989
--- xfish.c	Fri Aug 18 14:56:55 1989
***************
*** 244,251 ****
      else {
  	for (i = 0; i < (rcolors+1); i++)
  		cmap[i] = black;
! 	cmap[0] = cmap[rback] = white;
! 	bcolor = black;
  	}
      cmap[rback] = cmap[0];
      }
--- 244,251 ----
      else {
  	for (i = 0; i < (rcolors+1); i++)
  		cmap[i] = black;
! 	cmap[0] = black;
! 	bcolor = white;
  	}
      cmap[rback] = cmap[0];
      }
-- 
   _Q   _Q    _Q     _Q  _Q_Q    _Q    _Q                                    _Q
  /_\) /_\)  /_\)   /_\)/_/\\)  /_\)  /_\)                    Gary Powell   /_\)
_O|/O_O|/O__O|/O___O|/O_OO|/O__O|/O__O|/O__________________________________O|/O_
uunet!uw-beaver!sumax!ole!powell            Seattle Silicon Corp. (206) 828-4422