🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.windows.misc
3 messages
3 total messages Started by Alan Lundin Fri, 06 Jul 1990 11:37
Polarity of set in MGR
#238
Author: 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>
MGR (Was: Polarity of set in MGR)
#239
Author: Cheung Yukngo
Date: Fri, 06 Jul 1990 10:38
18 lines
1427 bytes
In article <1990Jul6.113729.19615@ariel.unm.edu> alundin@carina.unm.edu (Alan Lundin) writes:

   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'.

I had the same feeling when I started using MGR last December. I knew
MGR was simpler; but until I wrote the first MGR program I did not
know it was easier and more elegant too. I abandoned X after that. MGR
does have its defficiencies but it is much easier to read and modify
MGR than SunView (no source code) or X (source tree too big too complex).

I read the copyright notice that exists in most MGR source files; it
does not mention modifications. Can I modify MGR and give the modified
version to a friend, for example?

Thanks.
Re: MGR (Was: Polarity of set in MGR)
#242
Author: Stephen A Uhler
Date: Mon, 09 Jul 1990 15:09
17 lines
1334 bytes
In article <YUKNGO.90Jul6113844@obelix.gaul.csd.uwo.ca> yukngo@obelix.gaul.csd.uwo.ca (Cheung Yukngo) writes:
>In article <1990Jul6.113729.19615@ariel.unm.edu> alundin@carina.unm.edu (Alan Lundin) writes:
>
>I read the copyright notice that exists in most MGR source files; it
>does not mention modifications. Can I modify MGR and give the modified
>version to a friend, for example?
>

It is my understanding that you can modify MGR as much as you like, and
give your modified code to whomever you wish, as long as you make clear
what is your code and what is mine. 

If you think your modifications are generally useful, I would appreciate
you sending me them as well, so that I can incorporate your changes into
the "official" version so the improvements can be shared by all.

Stephen Uhler
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads