🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #448

cells and highlighting

#448
From: Ed Lau
Date: Wed, 05 Aug 1992 03:48
18 lines
1163 bytes
Would someone please explain to me how a matrix accomplishes highlighting of a  
cell?

The documentation states that the contents of the cell is composited with  
NX_HIGHLIGHT, but I couldn't find a description of NX_HIGHLIGHT anywhere. It  
would seem to me that the AppKit handles the highlighting for you. However, in  
one of the NeXT MiniExamples, the background color of a cell is chosen in the  
code by checking the cFlags1.state and .highlighted bits. This suggests to me  
that it is up to the programmer to implement highlighting. Who's right?

On a related note, what happens to the cFlags1.state and cFlags1.highlighted  
flags of a cell during and after a mouseDown:?

Thanks in advance.

--Ed Lau
edlau@mitl.com
Technical Details
Message-ID: <1992Aug5.034851.14628@MITL.COM>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!jvnc.net!mitl.com!news

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!jvnc.net!mitl.com!news
From: edlau@mitl.com (Ed Lau)
Subject: cells and highlighting
Message-ID: <1992Aug5.034851.14628@MITL.COM>
Sender: news@MITL.COM
Nntp-Posting-Host: chaos.mitl.com
Organization: Matsushita Information Technology Laboratory
Distribution: na
Date: Wed, 5 Aug 1992 03:48:51 GMT
Lines: 18