🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.misc
Article #238

Polarity of set in MGR

#238
From: Alan Lundin
Date: Fri, 06 Jul 1990 11:37
18 lines
1496 bytes
I'm confused on the sematics of the m_func B_SET operation.  It appears
that 'set' means to turn a pixel on/off depending on the default background
color.  Using the 3b1 port (many thanks to Brad Bosch and Brian Botton)
which defaults to white-on-black, a 'set' turns the pixel(s) on (white),
but surely on a SUN with a black-on-white screen it must turn the pixel
off.  When I send a m_setmode(M_WOB) to the window for a SUN-like
black-on-white window, the demo programs (stringart, hilbert) don't
do anything--I presume because they are 'set'ing the pixel.  Should
'set' do the oppose of the background color, or do the applications
need to be written to check the background color and do the appropriate
B_SET/B_CLEAR with m_func?

BTW, many thanks to Steve Ulher for writing and releasing this wonderful
windowing package!  I'm suddenly not very interested in X-windows any more,
thanks to MGR and am very impressed by MGR's simplicity and elegance.
MGR is the only windowing package I've seen that I'd call a 'tool'.

Alan Lundin <alundin@carina.unm.edu>
Technical Details
Message-ID: <1990Jul6.113729.19615@ariel.unm.edu>
Path: arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!unmvax!ariel.unm.edu!carina.unm.edu!alundin

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!unmvax!ariel.unm.edu!carina.unm.edu!alundin
From: alundin@carina.unm.edu (Alan Lundin)
Newsgroups: comp.windows.misc
Subject: Polarity of set in MGR
Message-ID: <1990Jul6.113729.19615@ariel.unm.edu>
Date: 6 Jul 90 11:37:29 GMT
Sender: usenet@ariel.unm.edu (USENET News System)
Organization: unix-pc owner
Lines: 18