openFrameworks addon that creates dropdown menus for ofxGui.
It easily allows you to create dropdown menus for:
- arrays of integer numbers
- maps of numbers to strings
- array of strings
Automatically generate a full depth dropdown menu for any folder and filter by file extension.
- Works using ofParameters just as the rest of ofxGui, so you can easily add listeners for the dropdown.
Distributed under the MIT License. Check the filelicense.md
for more info.
Works fine with openFrameworks v0.11 or newer. Tested on Macos, Windows and Linux.
Just copy or clone this repo into your addons folder.
cd your_openFrameworks_folder/addons
git clone https://github.com/roymacdonald/ofxDropdown.git
- Use Project Generator to add it to your projects.
- Check the examples for how to use it.
- Make sure you run the examples through Project Generator before you try to compile.