clindh@abalon.se (Christer Lindh) (04/08/91)
I can specify a custom bitmap for an application by using the resource 'iconPixmap', as discussed recently. However, olwm does not seem to do anything with the icon-mask hint that can be specified with the resource 'iconMask'. (I am talking about non-Xview appls here, eg xterm.) olwm *can* use mask on icons though, as several of Xviews own applications have masked icons. Those are in Sun icon-format though, and Xview is propably using some other code to load these. What the story on this? Can anything be done. Will 3.0 fix this? -- :: clindh@abalon.se :: o/ :: :: Abalon AB, Stockholm, Sweden :: /@ :: Work. Worry. Consume. Die. :: :: <|\ :: :: *All disclaimers apply* :: | climb ::
smarks@Eng.Sun.COM (Stuart Marks) (04/12/91)
I can specify a custom bitmap for an application by using the resource 'iconPixmap', as discussed recently. However, olwm does not seem to do anything with the icon-mask hint that can be specified with the resource 'iconMask'. (I am talking about non-Xview appls here, eg xterm.) You're right, olwm ignores this resource. There's no reason for this. It was simply left out. olwm *can* use mask on icons though, as several of Xviews own applications have masked icons. Those are in Sun icon-format though, and Xview is propably using some other code to load these. This doesn't have anything to do with the icon format. Rather, it's the technique XView apps use for their icons. XView apps typically use icon windows instead of pixmaps. Clients can specify icon windows in the WM_NORMAL_HINTS property, right alongside of icon pixmaps. (I don't know how one would do this in an Xt-based toolkit. Sorry.) If the window manager uses the client's icon window, the client simply paints into it on demand. The client can have a masked icon, or even a color icon. What the story on this? Can anything be done. Will 3.0 fix this? Not supporting icon masks is a silly shortcoming of olwm and I will endeavor to get it fixed in a future release. s'marks Stuart W. Marks ARPA: smarks@eng.sun.com Windows & Graphics Software UUCP: sun!smarks Sun Microsystems, Inc.