(saveFormat "2.0")
(date "Tue 19/Dec/1995 09:21:58 MST")
(veerev "3.2")
(platform "HP9000s700")
(SaveCF no)
(filterNAN 0)
(component 0 ROOTCONTEXT
 (name "Color Contrast")
 (implementation
  (retainGlobals YES)
  (locked no)
  (trigMode deg)
  (nextID 31)
  (component 0 LITERALCONSTANT
   (name "Text")
   (interface
	(output 1
	 (name "Text")
	 (lock name constraints)
	)
   )
   (implementation
	(value Text
	 (data  "aAbBcC 1234.56")
	)
	(initValue Text
	 (data  "")
	)
   )
  )
  (component 1 TEXTDISPLAY
   (name "Best - Blue")
   (interface
	(input 1
	 (name "Data")
	)
   )
   (implementation
   )
  )
  (component 2 TEXTDISPLAY
   (name "Best - Black")
   (interface
	(input 1
	 (name "Data")
	)
   )
   (implementation
   )
  )
  (component 4 TEXTDISPLAY
   (name "Best - Red")
   (interface
	(input 1
	 (name "Data")
	)
   )
   (implementation
   )
  )
  (component 6 TEXTDISPLAY
   (name "Best - Green")
   (interface
	(input 1
	 (name "Data")
	)
   )
   (implementation
   )
  )
  (component 8 TEXTDISPLAY
   (name "Worst - Red")
   (interface
	(input 1
	 (name "Data")
	)
   )
   (implementation
   )
  )
  (component 9 TEXTDISPLAY
   (name "Best  - Yellow")
   (interface
	(input 1
	 (name "Data")
	)
   )
   (implementation
   )
  )
  (component 10 TEXTDISPLAY
   (name "Best - White")
   (interface
	(input 1
	 (name "Data")
	)
   )
   (implementation
   )
  )
  (component 11 TEXTDISPLAY
   (name "Worst - Magenta")
   (interface
	(input 1
	 (name "Data")
	)
   )
   (implementation
   )
  )
  (component 12 TEXTDISPLAY
   (name "Worst - Blue")
   (interface
	(input 1
	 (name "Data")
	)
   )
   (implementation
   )
  )
  (component 13 TEXTDISPLAY
   (name "Worst - Yellow")
   (interface
	(input 1
	 (name "Data")
	)
   )
   (implementation
   )
  )
  (component 14 TEXTDISPLAY
   (name "Worst - Cyan")
   (interface
	(input 1
	 (name "Data")
	)
   )
   (implementation
   )
  )
  (component 15 TEXTDISPLAY
   (name "Cyan")
   (interface
	(input 1
	 (name "Data")
	)
   )
   (implementation
   )
  )
  (component 16 TEXTDISPLAY
   (name "Yellow")
   (interface
	(input 1
	 (name "Data")
	)
   )
   (implementation
   )
  )
  (component 17 TEXTDISPLAY
   (name "Red")
   (interface
	(input 1
	 (name "Data")
	)
   )
   (implementation
   )
  )
  (component 18 TEXTDISPLAY
   (name "Blue")
   (interface
	(input 1
	 (name "Data")
	)
   )
   (implementation
   )
  )
  (component 19 TEXTDISPLAY
   (name "Black")
   (interface
	(input 1
	 (name "Data")
	)
   )
   (implementation
   )
  )
  (component 21 TEXTDISPLAY
   (name "Magenta")
   (interface
	(input 1
	 (name "Data")
	)
   )
   (implementation
   )
  )
  (component 22 LABEL
   (name "Colors on a White Background")
   (implementation
	(labelValue "Colors on a White Background")
   )
  )
  (component 23 LABEL
   (name "Colors on a Black Background")
   (implementation
	(labelValue "Colors on a Black Background")
   )
  )
  (component 24 LABEL
   (name "Colors on Your Default Object Background")
   (implementation
	(labelValue "Colors on Your Default Object Background")
   )
  )
  (component 26 TEXTDISPLAY
   (name "Default Text Color")
   (interface
	(input 1
	 (name "Data")
	)
   )
   (implementation
   )
  )
  (component 27 TEXTDISPLAY
   (name "Green")
   (interface
	(input 1
	 (name "Data")
	)
   )
   (implementation
   )
  )
  (component 28 TEXTDISPLAY
   (name "White")
   (interface
	(input 1
	 (name "Data")
	)
   )
   (implementation
   )
  )
  (component 29 CONTEXT
   (name "Press For")
   (implementation
	(locked no)
	(trigMode deg)
	(nextID 3)
	(component 0 IFTHENELSE
	 (name "!= 0")
	 (interface
	  (input 1
	   (name "A")
	   (optional yes)
	  )
	  (output 1
	   (name "Then")
	   (lock name constraints)
	  )
	  (output 2
	   (name "Else")
	   (lock name constraints)
	  )
	 )
	 (implementation
	  (expr "a!=0")
	 )
	)
	(component 1 TOGGLE25
	 (name "Info About")
	 (interface
	  (input 1
	   (type control)
	   (name "Reset")
	   (lock name constraints)
	   (optional yes)
	  )
	  (output 1
	   (lock name constraints)
	  )
	 )
	 (implementation
	  (value Int32
	   (data  0)
	  )
	  (autoTrigger on)
	  (initValue Int32
	   (data  0)
	  )
	 )
	)
	(component 2 CONTEXT
	 (name "Info About This Example")
	 (implementation
	  (locked no)
	  (trigMode deg)
	  (nextID 3)
	  (popupMoveable)
	  (component 0 CONFIRM25
	   (name "DONE")
	   (description2 7
		"This tiny \"thread\" begins running when the"
		"enclosing UserObject is executed.  When the user"
		"acknowledges the OK/DONE button, there is nothing"
		"left to execute, so the thread ends.  Since there"
		"are not other threads running, the User Object"
		"is completed and will exit, removing the Show on"
		"execute Panel."
	   )
	   (interface
		(output 1
		 (name "Go")
		 (lock name constraints)
		)
	   )
	   (implementation
		(component enterButton yes)
		(component escapeButton yes)
	   )
	  )
	  (component 2 NOTE
	   (implementation
		(text2 10
		  ""
		  "PURPOSE: To illustrate the legibility of different"
		  "color text on different background colors."
		  ""
		  "USER DATA REQUIRED:  Press Run."
		  ""
		  "EXPLANATION: Some colors are better and"
		  "worse for text on certain background colors."
		  "Refer to \"Building an Operator Interface with"
		  "HP VEE\" for more details."
		)
	   )
	  )
	  (configuration
	  )
	  (ShowOnExecPanel
	   (geometry 72 0 552 358)
	   (panel
		(geometry 146 162 548 337)
		(widget 1 detail
		 (title on)
		 (borderStyle flat)
		 (geometry 168 192 496 218)
		 (editing disabled)
		)
		(widget 0 detail
		 (title off)
		 (borderStyle flat)
		 (geometry 388 424 66 34)
		)
	   )
	  )
	 )
	)
	(configuration
	 (connect D1:1 D0:1)
	 (connect D2:0 D1:1)
	 (connect D0:1 D2:0)
	)
   )
  )
  (component 30 NOTE
   (name "Warranty Disclaimer")
   (implementation
	(text2 4
	  "This example is provided as an illustration"
	  "\"as is\", and Hewlett-Packard Company makes"
	  "no warranty of any kind with regard to this"
	  "example."
	)
   )
  )
  (configuration
   (connect D0:1 D1:1)
   (connect D0:1 D2:1)
   (connect D0:1 D3:1)
   (connect D0:1 D4:1)
   (connect D0:1 D5:1)
   (connect D0:1 D6:1)
   (connect D0:1 D7:1)
   (connect D0:1 D8:1)
   (connect D0:1 D9:1)
   (connect D0:1 D10:1)
   (connect D0:1 D11:1)
   (connect D0:1 D12:1)
   (connect D0:1 D13:1)
   (connect D0:1 D14:1)
   (connect D0:1 D15:1)
   (connect D0:1 D16:1)
   (connect D0:1 D17:1)
   (connect D0:1 D21:1)
   (connect D0:1 D22:1)
   (connect D0:1 D23:1)
  )
 )
 (viewFor -1
  (active panel)
  (panel
   (geometry 0 53 877 415)
   (widget 20 detail
	(title off)
	(borderStyle none)
	(geometry 90 273 309 25)
	(just l)
   )
   (widget 18 detail
	(title off)
	(borderStyle none)
	(geometry 10 63 221 25)
	(just l)
   )
   (widget 19 detail
	(title off)
	(borderStyle none)
	(geometry 380 63 219 25)
	(just l)
   )
   (widget 21 detail
	(title on)
	(borderStyle flat)
	(geometry 452 423 176 28)
   )
   (widget 2 detail
	(bg "White")
	(fg "Black")
	(title on)
	(borderStyle flat)
	(geometry 12 113 166 28)
   )
   (widget 1 detail
	(bg "White")
	(fg "Blue")
	(title on)
	(borderStyle flat)
	(geometry 12 163 166 28)
   )
   (widget 3 detail
	(bg "White")
	(fg "Red")
	(title on)
	(borderStyle flat)
	(geometry 12 213 166 28)
   )
   (widget 10 detail
	(bg "White")
	(fg "Yellow")
	(title on)
	(borderStyle flat)
	(geometry 192 113 166 28)
   )
   (widget 11 detail
	(bg "White")
	(fg "Cyan")
	(title on)
	(borderStyle flat)
	(geometry 192 163 166 28)
   )
   (widget 7 detail
	(bg "Black")
	(fg "White")
	(title on)
	(borderStyle flat)
	(geometry 372 113 166 28)
   )
   (widget 9 detail
	(bg "Black")
	(fg "Blue")
	(title on)
	(borderStyle flat)
	(geometry 552 113 166 28)
   )
   (widget 6 detail
	(bg "Black")
	(fg "Yellow")
	(title on)
	(borderStyle flat)
	(geometry 372 163 166 28)
   )
   (widget 4 detail
	(bg "Black")
	(fg "Green")
	(title on)
	(borderStyle flat)
	(geometry 372 213 166 28)
   )
   (widget 5 detail
	(bg "Black")
	(fg "Red")
	(title on)
	(borderStyle flat)
	(geometry 552 163 166 28)
   )
   (widget 8 detail
	(bg "Black")
	(fg "Magenta")
	(title on)
	(borderStyle flat)
	(geometry 552 213 166 28)
   )
   (widget 16 detail
	(title on)
	(borderStyle flat)
	(geometry 92 323 176 28)
   )
   (widget 15 detail
	(fg "Blue")
	(title on)
	(borderStyle flat)
	(geometry 92 373 176 28)
   )
   (widget 14 detail
	(fg "Red")
	(title on)
	(borderStyle flat)
	(geometry 92 423 176 28)
   )
   (widget 13 detail
	(fg "Yellow")
	(title on)
	(borderStyle flat)
	(geometry 272 323 176 28)
   )
   (widget 12 detail
	(fg "Cyan")
	(title on)
	(borderStyle flat)
	(geometry 272 373 176 28)
   )
   (widget 17 detail
	(fg "Magenta")
	(title on)
	(borderStyle flat)
	(geometry 452 373 176 28)
   )
   (widget 22 detail
	(fg "Green")
	(title on)
	(borderStyle flat)
	(geometry 452 323 176 28)
   )
   (widget 23 detail
	(fg "White")
	(title on)
	(borderStyle flat)
	(geometry 272 423 176 28)
   )
   (widget 24 panel
	(title on)
	(borderStyle flat)
	(geometry 662 353 186 68)
	(widget 1 detail
	 (title off)
	 (borderStyle flat)
	 (geometry 694 365 114 39)
	 (scaled on)
	 (format button)
	)
   )
   (widget 25 icon
	(title off)
	(borderStyle flat)
	(geometry 537 252 338 48)
	(iconImage "disclaim.icn")
	(label off)
   )
  )
  (detail
   (geometry 0 47 1157 541)
   (configuration
	(viewFor 0
	 (active detail)
	 (icon
	 )
	 (detail
	  (geometry 113 266 214 29)
	 )
	)
	(viewFor 1
	 (active detail)
	 (icon
	  (geometry 0 0 82 0)
	 )
	 (detail
	  (geometry 427 108 146 25)
	 )
	)
	(viewFor 2
	 (active detail)
	 (icon
	  (geometry 0 0 93 0)
	 )
	 (detail
	  (geometry 427 188 146 25)
	 )
	)
	(viewFor 4
	 (active detail)
	 (icon
	  (geometry 0 0 78 0)
	 )
	 (detail
	  (geometry 427 268 146 25)
	 )
	)
	(viewFor 6
	 (active detail)
	 (icon
	  (geometry 0 0 95 0)
	 )
	 (detail
	  (geometry 797 268 146 25)
	 )
	)
	(viewFor 8
	 (active detail)
	 (icon
	  (geometry 0 0 92 0)
	 )
	 (detail
	  (geometry 997 198 146 25)
	 )
	)
	(viewFor 9
	 (active detail)
	 (icon
	  (geometry 0 0 106 0)
	 )
	 (detail
	  (geometry 797 198 146 25)
	 )
	)
	(viewFor 10
	 (active detail)
	 (icon
	  (geometry 0 0 95 0)
	 )
	 (detail
	  (geometry 797 108 146 25)
	 )
	)
	(viewFor 11
	 (active detail)
	 (icon
	  (geometry 0 0 132 0)
	 )
	 (detail
	  (geometry 986 268 168 25)
	 )
	)
	(viewFor 12
	 (active detail)
	 (icon
	  (geometry 0 0 96 0)
	 )
	 (detail
	  (geometry 997 108 146 25)
	 )
	)
	(viewFor 13
	 (active detail)
	 (icon
	  (geometry 0 0 116 0)
	 )
	 (detail
	  (geometry 604 118 152 25)
	 )
	)
	(viewFor 14
	 (active detail)
	 (icon
	  (geometry 0 0 103 0)
	 )
	 (detail
	  (geometry 607 208 146 25)
	 )
	)
	(viewFor 15
	 (active detail)
	 (icon
	  (geometry 0 0 39 0)
	 )
	 (detail
	  (geometry 617 468 146 25)
	 )
	)
	(viewFor 16
	 (active detail)
	 (icon
	  (geometry 0 0 51 0)
	 )
	 (detail
	  (geometry 617 408 146 25)
	 )
	)
	(viewFor 17
	 (active detail)
	 (icon
	  (geometry 0 0 29 0)
	 )
	 (detail
	  (geometry 417 528 146 25)
	 )
	)
	(viewFor 18
	 (active detail)
	 (icon
	  (geometry 0 0 33 0)
	 )
	 (detail
	  (geometry 417 468 146 25)
	 )
	)
	(viewFor 19
	 (active detail)
	 (icon
	  (geometry 0 0 43 0)
	 )
	 (detail
	  (geometry 412 409 157 22)
	 )
	)
	(viewFor 21
	 (active detail)
	 (icon
	  (geometry 0 0 67 0)
	 )
	 (detail
	  (geometry 827 398 146 25)
	 )
	)
	(viewFor 22
	 (active detail)
	 (icon
	  (geometry 0 0 232 0)
	 )
	 (detail
	  (geometry 389 37 223 27)
	  (just l)
	 )
	 (title off)
	)
	(viewFor 23
	 (active detail)
	 (icon
	  (geometry 0 0 229 0)
	 )
	 (detail
	  (geometry 760 37 221 27)
	  (just l)
	 )
	 (title off)
	)
	(viewFor 24
	 (active detail)
	 (icon
	  (geometry 0 0 328 0)
	 )
	 (detail
	  (geometry 415 327 311 27)
	  (just l)
	 )
	 (title off)
	)
	(viewFor 26
	 (active detail)
	 (icon
	  (geometry 0 0 147 0)
	 )
	 (detail
	  (geometry 788 528 224 25)
	 )
	)
	(viewFor 27
	 (active detail)
	 (icon
	  (geometry 0 0 45 0)
	 )
	 (detail
	  (geometry 827 458 146 25)
	 )
	)
	(viewFor 28
	 (active detail)
	 (icon
	  (geometry 0 0 45 0)
	 )
	 (detail
	  (geometry 617 528 146 25)
	 )
	)
	(viewFor 29
	 (active panel)
	 (icon
	  (geometry 125 388 110 25)
	 )
	 (panel
	  (geometry 51 352 319 77)
	  (widget 1 detail
	   (title off)
	   (borderStyle flat)
	   (geometry 153 365 114 39)
	   (scaled on)
	   (format button)
	  )
	 )
	 (detail
	  (geometry 117 78 647 485)
	  (configuration
	   (viewFor 0
		(active icon)
		(icon
		 (geometry 497 315 46 25)
		)
		(detail
		 (geometry 209 308 73 64)
		)
		(terminals on)
	   )
	   (viewFor 1
		(active detail)
		(icon
		 (geometry -40 -12 81 24)
		)
		(detail
		 (geometry 333 308 114 39)
		 (scaled on)
		 (format button)
		)
		(title off)
	   )
	   (viewFor 2
		(active panel)
		(icon
		 (geometry 52 478 217 25)
		)
		(detail
		 (geometry 21 209 579 523)
		 (configuration
		  (viewFor 0
		   (active detail)
		   (icon
			(geometry -22 -12 45 24)
		   )
		   (detail
			(geometry 371 592 58 37)
		   )
		   (title off)
		  )
		  (viewFor 2
		   (active icon)
		   (icon
			(geometry 295 325 71 51)
			(iconImage "notepad.icn")
		   )
		   (detail
			(geometry 108 121 484 478)
			(editing enabled)
		   )
		  )
		 )
		 (stackingOrder 0 1)
		)
	   )
	   (connect D1:1 D0:1
		(points 2 449 327 494 327)
	   )
	   (connect D2:0 D1:1
		(points 5 420 501 420 520 320 520 320 327 330 327)
	   )
	   (connect D0:1 D2:0
		(points 5 545 317 720 317 720 120 420 120 420 135)
	   )
	  )
	  (stackingOrder 0 1 2)
	 )
	)
	(viewFor 30
	 (active icon)
	 (icon
	  (geometry 21 66 338 48)
	  (iconImage "disclaim.icn")
	  (label off)
	 )
	 (detail
	  (geometry 585 113 410 78)
	  (editing enabled)
	 )
	)
	(connect D0:1 D1:1
	 (points 4 329 280 390 280 390 120 424 120)
	)
	(connect D0:1 D2:1
	 (points 4 329 280 390 280 390 200 424 200)
	)
	(connect D0:1 D3:1
	 (points 2 329 280 424 280)
	)
	(connect D0:1 D4:1
	 (points 8 329 280 390 280 390 230 590 230 590 250 600 250 600 280 794 280)
	)
	(connect D0:1 D5:1
	 (points 12 329 280 390 280 390 230 590 230 590 250 600 250 600 280 770 280 770 320 970 320 970 210 994 210)
	)
	(connect D0:1 D6:1
	 (points 10 329 280 390 280 390 230 590 230 590 250 600 250 600 280 770 280 770 210 794 210)
	)
	(connect D0:1 D7:1
	 (points 8 329 280 390 280 390 230 590 230 590 170 780 170 780 120 794 120)
	)
	(connect D0:1 D8:1
	 (points 12 329 280 390 280 390 230 590 230 590 250 600 250 600 280 770 280 770 320 970 320 970 280 983 280)
	)
	(connect D0:1 D9:1
	 (points 12 329 280 390 280 390 230 590 230 590 250 600 250 600 280 770 280 770 320 970 320 970 120 994 120)
	)
	(connect D0:1 D10:1
	 (points 6 329 280 390 280 390 230 590 230 590 130 601 130)
	)
	(connect D0:1 D11:1
	 (points 6 329 280 390 280 390 230 590 230 590 220 604 220)
	)
	(connect D0:1 D12:1
	 (points 6 329 280 390 280 390 380 590 380 590 480 614 480)
	)
	(connect D0:1 D13:1
	 (points 6 329 280 390 280 390 380 590 380 590 420 614 420)
	)
	(connect D0:1 D14:1
	 (points 4 329 280 390 280 390 540 414 540)
	)
	(connect D0:1 D15:1
	 (points 4 329 280 390 280 390 480 414 480)
	)
	(connect D0:1 D16:1
	 (points 4 329 280 390 280 390 420 409 420)
	)
	(connect D0:1 D17:1
	 (points 12 329 280 390 280 390 230 590 230 590 250 600 250 600 280 770 280 770 320 790 320 790 410 824 410)
	)
	(connect D0:1 D21:1
	 (points 14 329 280 390 280 390 230 590 230 590 250 600 250 600 280 770 280 770 320 790 320 790 490 780 490 780 540 785 540)
	)
	(connect D0:1 D22:1
	 (points 12 329 280 390 280 390 230 590 230 590 250 600 250 600 280 770 280 770 320 790 320 790 470 824 470)
	)
	(connect D0:1 D23:1
	 (points 6 329 280 390 280 390 380 590 380 590 540 614 540)
	)
   )
   (stackingOrder 1 10 11 15 20 0 13 12 23 21
	 22 17 14 16 2 3 18 19 4 6
	 7 8 5 9 25 24)
  )
  (titleBg "Gray")
  (titleFg "Black")
  (numberFormats
   (realFormat standard)
   (realSigDigits 4)
   (realRadixSpec 4)
   (integerBase decimal)
  )
 )
)
