|
iPlug2 - C++ Audio Plug-in Framework
|
#include <cmath>#include <cstring>#include <cstdio>#include <cassert>#include <memory>#include "wdlstring.h"#include "ptrlist.h"Go to the source code of this file.
Classes | |
| class | IPopupMenu |
| A class for setting the contents of a pop up menu. More... | |
| class | IPopupMenu::Item |
| A class to specify an item of a pop up menu. More... | |
A class for setting the contents of a pop up menu.
An IPopupMenu must not be declared as a temporary. In order for a receiving IControl or lambda function to be triggered when something is selected, the menu should persist across function calls, therefore it should almost always be a member variable. An IPopupMenu owns its sub items, including submenus This (and the platform implementations) are largely based on the VSTGUI COptionMenu
Definition in file IGraphicsPopupMenu.h.