🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x.pex
Article #29

Re: PEX drawing in icons

#29
From: Rich Thomson
Date: Fri, 07 Aug 1992 22:28
30 lines
1808 bytes
In article <gregc.711164159@cgl.ucsf.edu>
	gregc@socrates.ucsf.edu (Greg Couch%CGL) writes:
>First of all, has anyone used PEX to draw an icon?  And if so, was it any
>harder than drawing to a "normal" icon window?

No, I haven't tried this, but it shouldn't be any more difficult than
drawing into any other window since an icon window (as far as the server
is concerned) is just another window.

>I plan to use a TrueColor visual for the icon even if it isn't the default,
>but in the ICCCM, section 4.1.9 on icons, it says: "The icon window should
>use the root visual & default colormap for the screen in question."

Hmm... although I can see why this restriction might be included in
the ICCCM, have you tried creating a child of that window with a
different visual/colormap suitable for PEX rendering?

>Are
>there any window managers where the icons *must* use the root visual and
>default colormap?

I'm not sure since I've not written any window managers; even the
ICCCM is fuzzy to me in most places.

							-- Rich
-- 
	Repeal the personal income tax; vote Libertarian in 1992.
Disclaimer: I speak for myself, except as noted; Copyright 1992 Rich Thomson
UUCP: ...!uunet!dsd.es.com!rthomson			Rich Thomson
Internet: rthomson@dsd.es.com	IRC: _Rich_		PEXt Programmer
Technical Details
Message-ID: <1992Aug7.222851.9877@dsd.es.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!orca!mesa!rthomson
References: <gregc.711164159@cgl.ucsf.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.x.pex,comp.windows.x
Path: arc1-ca.pugleaf.net!sparky!uunet!orca!mesa!rthomson
From: rthomson@mesa.dsd.es.com (Rich Thomson)
Subject: Re: PEX drawing in icons
Message-ID: <1992Aug7.222851.9877@dsd.es.com>
Keywords: PEX icon
Sender: usenet@dsd.es.com
Nntp-Posting-Host: 130.187.85.21
Reply-To: rthomson@dsd.es.com (Rich Thomson)
Organization: Design Systems Division, Evans & Sutherland, SLC, UT
References: <gregc.711164159@cgl.ucsf.edu>
Date: Fri, 7 Aug 92 22:28:51 GMT
Lines: 30