From: Bruce S. <ba...@an...> - 2001-11-06 18:35:51
|
Attached is Controls.zip, an improved version of the button and slider machinery I posted yesterday. Two significant changes: 1) Instead of horizontal sliders and vertical sliders, there is just one kind of slider, and it can point in any direction, specified by "axis". The demo has a vertical slider and a slider at an angle. 2) Instead of a 100 by 100 coordinate system with (0,0) in the lower left corner, I reverted to standard Visual conventions. The origin is at the center of the screen, and you can use any units you like to set up buttons and sliders. For buttons, pos is at the center (like box) and for sliders pos is at one end (like cylinder). Bruce |