Frieda Reichsman wrote:
Using 10.9.96, I find that -
1. The commands for toggling the use of a background color for a label,
set labelPointerBackground true
set labelPointerBackground false
turn the label's pointer on or off, rather than changing the
background color of the label.
The purpose of this command is to set the color of the label pointer
either to the color of the background box of the label or not. If the
label has no background, this command has no effect. It does not have
any effect on changing the background color of the label.
On the examples page, which uses 10.9.97, the same command changes the
color of the pointer, but not the background color of the label. The
difference in behavior between 10.9.96 and 97 may not be real, as the
two contexts are different.
The two versions should be the same, but in any case, what you say for
10.9.97 is the intended behavior.
2. I've recently found that the line wrap behavior that is documented
for echos (that is, using the vertical line character: | ) also works
in general on labels. I'm not sure whether that behavior is intended,
but it is welcome!
However a wrapped label breaks the command
set labelpointerNoBox
which has no effect when a label is wrapped.
Correct; pointers are only for simple, one-line labels. At least for now.
3. Some of the set commands operate on labels of the selected set,
whereas others work on all labels regardless of selection. For example,
set labelpointerNoBox operates only on labels of selected atoms
set labelpointerBox operates on all labels
I don't think so. But it's tricky enough that you are not seeing the
pattern. Here's the logic in pseudo code:
for each label:
if (just a simple one-line label) {
doPointer = ("set labelPointerBox" and there is a box
or "set labelPointerNoBox" and there is no box)
pointerColor = (the foreground color or,
if "set labelPointerBackground" and there is a box then the
background color)
}
Why just simple one-line labels? No reason. That's just as far as I got.
In general I think it would be better if these label settings operated
only on the selected set's labels.
That won't be possible -- it's an all-on/all-off sort of thing.
Frieda
///////////////////////////////////////////
Frieda Reichsman, PhD
Molecules in Motion
Interactive Molecular Structures
///////////////////////////////////////////
------------------------------------------------------------------------
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
------------------------------------------------------------------------
_______________________________________________
Jmol-users mailing list
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
_______________________________________________
Jmol-users mailing list