bmc@MYCROFT.MAYO.EDU (08/23/89)
Is there a generic way to determine which cells in a colormap are private (read only) and which are public (read-write)? Thanks... ---------------------------------------------------- Bruce M. Cameron bmc@bru.mayo.edu Medical Sciences 1-14 (507) 284-3288 Mayo Foundation WD9CKW Rochester, MN 55905 ----------------------------------------------------
bmc@MYCROFT.MAYO.EDU (08/23/89)
Thanks for the info & correct terminology. It looks like I'll have to develop some type of work arround. --Bruce ---------------------------------------------------- Bruce M. Cameron bmc@bru.mayo.edu Medical Sciences 1-14 (507) 284-3288 Mayo Foundation WD9CKW Rochester, MN 55905 ----------------------------------------------------
rws@EXPO.LCS.MIT.EDU (Bob Scheifler) (08/23/89)
Is there a generic way to determine which cells in a colormap
are private (read only) and which are public (read-write)?
I might argue you have your terms backwards, but no, there is no
explict way to determine this. One very crufty way would be to
grab the server, and then query each cell and try to write it
back. If you don't get an error, it's writable. If you do get
an error, though, you can't tell if it's read-only or unallocated.