BASIC SYNTAX

set echo top center
font echo 25 sansserif bold
color echo [xa0a0a0]
echo something or other

background echo color translucent 5; // seems to affect all echos

==================================
NEW CODE:

// position: tl, tr, bl, br (top, bottom, left, right), or "middle center".
// Note that top and bottom are predefined echo IDs!
in scripts.js:

function makeEchoMsgSpt(msg, position, fsize, echoColor) SCRIPTS.JS

getEchoColor() SCRIPTS.JS

Jmol 12.3.32 does NOT automatically change black echo to white
when the background color changes.

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
NEW PLAN FGIJ 1.6

- There will be 4 standard echos that will be given IDs:
	top, bottom, echoTR, echoBR. The R's will be right adjusted.
	top and bottom will be (by default) left adjusted.

UNNEC: - Each will store its msg in an external variable so the colors of
all 3 echos can be changed easily.

- 'set echo all' enables 'color echo' to apply to all for toggling background.
DONE with bgWhiteSpt, bgBlackSpt.

- makeEchoSpt() and makeEchoPdbIdSpt() PDB ID should call makeEchoMsgSpt()
DONE, DONE.
"Uncertainty" should use these functions, as should any other "echo" spt!

- NB that "top, middle, bottom" are themselves echo IDs!!
You cannot have two unnamed echos "top left", "top right". The alignment
applies to the single predefined ID "top".

'set echo echobr 100% 25' places the echo above the Jmol frank a fixed
pixel distance, but keeps the echo at the right edge of the screen.

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
>>OLD<< CODE IN FGIJ 1.46: (NEW FUNCTIONS ABOVE)

NONE of these 3 functions below use an echo NAME!

scripts.js:
	function makeEchoPdbIdSpt(echoColor)
		if echoColor=="", color is opposite background.
		does not call any other makeEcho function.
		fontsize 20 (15 for "(Uploaded Data)").
		USED:
			jcontrol.js:
				doToggleButtion(): to toggle PDB code color when tognum==backgroundIndex
				doViewLink()
				toggleUnitcell()
				setContactsView()

	function makeEchoMsgSpt(msg, position, fsize, echoColor)
		comments mention PDB code; suppressed if top && unitcellOn.
		does not call any other makeEcho function.
		USED:
			jcontrol.js for RED double click distance echoTop
			scripts.js for GRAY "middle center" Processing PDB File Header

top.js
	function makeEchoSpt(txt, posn)
		if posn is absent, defaults to lower left.
		does not call any other makeEcho function.
		color is opposite bkg.
		fontsize 18.
		USED:
			pickcall.js: atomid
			scripts.js:
				hideChecked()
				makeContactsViewSpt() to BLANK echoBottom
			jcontrol.js for numerous echoBottom messages

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
