(saveFormat "2.0")
(date "Tue 19/Dec/1995 09:21:56 MST")
(veerev "3.2")
(platform "HP9000s700")
(SaveCF no)
(filterNAN 0)
(component 0 ROOTCONTEXT
 (name "A Simple Animation")
 (implementation
  (UserFunctions
   (nextID 1)
   (context 0
	(name "pict")
	(implementation
	 (locked no)
	 (trigMode deg)
	 (nextID 1)
	 (popupTitle off)
	 (popupBorder off)
	 (component 0 PICTURE
	  (name "Picture")
	  (implementation
	   (pictureImage "exclam.gif")
	  )
	 )
	 (configuration
	 )
	)
	(viewFor 0
	 (active panel)
	 (panel
	  (geometry 35 23 171 84)
	  (widget 0 detail
	   (title off)
	   (borderStyle none)
	   (geometry 95 43 32 32)
	   (pictureMode actual)
	  )
	  (panelBg "Gray")
	 )
	 (detail
	  (geometry 212 72 310 251)
	  (configuration
	   (viewFor 0
		(active detail)
		(icon
		)
		(detail
		 (geometry 292 143 32 32)
		 (pictureMode actual)
		)
	   )
	  )
	 )
	 (terminals on)
	)
   )
  )
  (retainGlobals YES)
  (locked no)
  (trigMode deg)
  (nextID 9)
  (component 0 FORMULA
   (name "showPanel()")
   (interface
	(input 1
	 (name "A")
	 (optional yes)
	)
	(input 2
	 (name "B")
	 (optional yes)
	)
	(output 1
	 (name "Result")
	 (lock name constraints)
	)
   )
   (implementation
	(expr 1 "showPanel(\"pict\", a, b)")
   )
  )
  (component 1 FORRANGE
   (interface
	(output 1
	 (name "Data")
	 (lock name constraints)
	)
   )
   (implementation
	(from -20)
	(thru 1000)
	(step 10)
   )
  )
  (component 2 FORRANGE
   (interface
	(output 1
	 (name "Data")
	 (lock name constraints)
	)
   )
   (implementation
	(from -20)
	(thru 800)
	(step 5)
   )
  )
  (component 7 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 18
		  ""
		  "PURPOSE: To demonstrate simple"
		  "animation using showPanel()"
		  "to display a UserFunction Panel"
		  "(that contains a Picture object)"
		  "in different locations."
		  ""
		  "USER DATA REQUIRED:  Press Run. "
		  " "
		  "EXPLANATION: You can specify"
		  "the location of a UserFunction Panel"
		  "with the showPanel() object. When"
		  "you input the x and y values"
		  "programmatically, you can perform simple"
		  "animation."
		  ""
		  "Refer to \"Building an Operator Interface with"
		  "HP VEE\" for more details."
		)
	   )
	  )
	  (configuration
	  )
	  (ShowOnExecPanel
	   (geometry 72 61 549 432)
	   (panel
		(geometry 18 105 545 411)
		(widget 1 detail
		 (title on)
		 (borderStyle flat)
		 (geometry 30 135 516 308)
		 (editing disabled)
		)
		(widget 0 detail
		 (title off)
		 (borderStyle flat)
		 (geometry 270 457 66 34)
		)
	   )
	  )
	 )
	)
	(configuration
	 (connect D1:1 D0:1)
	 (connect D2:0 D1:1)
	 (connect D0:1 D2:0)
	)
   )
  )
  (component 8 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 D1:1 D0:1)
   (connect D2:1 D0:2)
  )
 )
 (viewFor -1
  (active panel)
  (panel
   (geometry 0 53 695 453)
   (widget 4 icon
	(title off)
	(borderStyle flat)
	(geometry 2 455 338 48)
	(iconImage "disclaim.icn")
	(label off)
   )
   (widget 3 panel
	(title on)
	(borderStyle flat)
	(geometry 372 83 319 77)
	(widget 1 detail
	 (title off)
	 (borderStyle flat)
	 (geometry 474 96 114 39)
	 (scaled on)
	 (format button)
	)
   )
   (panelBg "Gray")
  )
  (detail
   (geometry 0 47 745 559)
   (configuration
	(viewFor 0
	 (active detail)
	 (icon
	 )
	 (detail
	  (geometry 313 369 195 42)
	 )
	 (terminals on)
	)
	(viewFor 1
	 (active detail)
	 (icon
	  (iconImage "loop.icn")
	 )
	 (detail
	  (geometry 74 301 113 79)
	 )
	)
	(viewFor 2
	 (active detail)
	 (icon
	  (iconImage "loop.icn")
	 )
	 (detail
	  (geometry 74 421 113 79)
	 )
	)
	(viewFor 7
	 (active panel)
	 (icon
	  (geometry 255 298 110 25)
	 )
	 (panel
	  (geometry 11 132 319 77)
	  (widget 1 detail
	   (title off)
	   (borderStyle flat)
	   (geometry 113 145 114 39)
	   (scaled on)
	   (format button)
	  )
	 )
	 (detail
	  (geometry -13 68 647 485)
	  (configuration
	   (viewFor 0
		(active icon)
		(icon
		 (geometry 377 375 46 25)
		)
		(detail
		 (geometry 209 308 73 64)
		)
		(terminals on)
	   )
	   (viewFor 1
		(active detail)
		(icon
		 (geometry -40 -12 81 24)
		)
		(detail
		 (geometry 213 368 114 39)
		 (scaled on)
		 (format button)
		)
		(title off)
	   )
	   (viewFor 2
		(active icon)
		(icon
		 (geometry 182 298 217 25)
		)
		(detail
		 (geometry 12 122 556 377)
		 (configuration
		  (viewFor 0
		   (active detail)
		   (icon
			(geometry -22 -12 45 24)
		   )
		   (detail
			(geometry 171 252 58 37)
		   )
		   (title off)
		  )
		  (viewFor 2
		   (active icon)
		   (icon
			(geometry 25 135 71 51)
			(iconImage "notepad.icn")
		   )
		   (detail
			(geometry 108 121 484 478)
			(editing enabled)
		   )
		  )
		 )
		 (stackingOrder 1 0)
		)
	   )
	   (connect D1:1 D0:1
		(points 2 329 387 374 387)
	   )
	   (connect D2:0 D1:1
		(points 5 290 325 290 350 190 350 190 387 210 387)
	   )
	   (connect D0:1 D2:0
		(points 5 425 377 450 377 450 280 290 280 290 295)
	   )
	  )
	  (stackingOrder 0 1 2)
	 )
	)
	(viewFor 8
	 (active icon)
	 (icon
	  (geometry 351 146 338 48)
	  (iconImage "disclaim.icn")
	  (label off)
	 )
	 (detail
	  (geometry 585 113 410 78)
	  (editing enabled)
	 )
	)
	(connect D1:1 D0:1
	 (points 4 189 340 210 340 210 380 280 380)
	)
	(connect D2:1 D0:2
	 (points 4 189 460 210 460 210 400 280 400)
	)
   )
   (stackingOrder 1 2 0 4 3)
  )
  (titleBg "Gray")
  (titleFg "Black")
  (numberFormats
   (realFormat standard)
   (realSigDigits 4)
   (realRadixSpec 4)
   (integerBase decimal)
  )
 )
)
