Chapter 3. Adding a GUI and Handling Keyboard Events
Most of the real-time projects, including video synthesizers, need to be interactive. The simple way to do it is to equip the project with a GUI and handle keyboard events. In this chapter, we will consider how to do this by covering the following topics:
- Creating a GUI with sliders and checkboxes
- Handling keyboard events
- Saving screenshots
- Working with presets
- Using system dialogs to save and load files
Finally, we will implement an advanced method for generating geometric patterns, called matrix pattern generator.