Re: Title bar pixmaps

David Mihm (davemann@the-site.dyn.ml.org)
Sat, 18 Jul 1998 12:05:02 -0500 (CDT)


On Sat, 18 Jul 1998, Maury Merkin wrote:

> I've been trying to place a pixmap of my own creation on the title bar
> with no success.

	Make sure you are allocating the correct TextureType to use
pixmaps.  For your layout below, do the following:
#		title  unfocused sticky menutitle  menuitem   menuhilite
TextureTypes	128	128	  128	1,2,3,4or5 1,2,3,4or5 1,2,3,4or5
					    ^         ^           ^
see the defines for textures as to \________|_________|___________| 
which gradient style you want here /

> TitlePixmap            greentexture.xpm
> STitlePixmap           browntexture.xpm
> UTitlePixmap           bluetexture.xpm
> MTitleTextureColor     #303080         #000010
> MenuTextureColor       #606060         #d0d0d0
> 
> I've placed the three xpm files in
> ~/GNUstep/Library/AfterStep/desktop/icons/16bpp (and also in 24bpp and
> 8bpp) but they're either not being found or, perhaps, they're not
> otherwise correct.  (Unacceptable size?  whatever?)

	Also verify that the path to the directory where these xpm's are
located is stated in the base#.bpp you are using, where # = color depth.
If you are unsure which color depth you are running, it is echoed on the
console of the originating terminal of X at start-up.

> Maury

HTH
___________________________________________________________________
d a v i d  @  m i h m                          reality.sys corrupt!
davemann-at-ionet-dot-net                     reboot universe(y,n)?
(www||ftp)the-site.dyn.ml.org/                          ICQ:4251923
-------------------------------------------------------------------
Key fingerprint =  E4 90 15 ED E5 9F 18 8A  B0 CC FF 68 61 36 4A 6F


--
   WWW:   http://www.afterstep.org/
   FTP:   ftp://ftp.afterstep.org/
   MAIL:  http://wormhole.eosys.com/mailing-lists/AfterStep-Info.html

   To unsubscribe: echo unsubscribe | mail afterstep-request@eosys.com