lecui 1.0.0-alpha.20
lecui C++ user interface library
|
Context menu. More...
#include <context_menu.h>
Classes | |
struct | specs |
The context menu specifications. By default the menu is pinned to the top left corner of the mouse cursor. More... | |
Public Types | |
enum class | pin_type { bottom , right } |
Pin type. Used to determine the position of the context menu with respect to the pin rectangle. More... | |
Public Member Functions | |
context_menu () | |
Context menu constructor. | |
std::string | operator() (form &fm, const specs &menu_specs) |
Display a context menu. More... | |
Context menu.
|
strong |
Pin type. Used to determine the position of the context menu with respect to the pin rectangle.
Display a context menu.
fm | The form to which the menu belongs. |
menu_specs | The menu specifications. |