4. Other Features
Other Shapes
Other than Line
objects, there are a number of other graphical elements that can be added to YOPS panels. These include:
Input through Dialogs
Other than sliders and check boxes for set methods, a user can be queried for data by using dialog boxes. The Dialog
class offers a number of static methods for inquiring for specifc types of data. Additionaly, there exist static methods for displaying error messages.
Using Sounds
YOPS provides support for playing sounds or music from a YOPS tool. Static methods exist in the Sound
class for loading, playing, stopping, and looping a sound from a file.