lecui 1.0.0-alpha.20
lecui C++ user interface library
|
The context menu specifications. By default the menu is pinned to the top left corner of the mouse cursor. More...
#include <context_menu.h>
Public Attributes | |
std::vector< menu_item > | items |
The menu items. | |
lecui::rect | pin = { 0.f, 0.f, 0.f, 0.f } |
The rectangle to pin the menu to. Leave with a size of zero to rather pin the menu to the mouse cursor (default behavior). | |
pin_type | type = pin_type::bottom |
The pin type to use, if the pin rectangle is used (i.e. if it's non-zero size). | |
image_quality | quality = image_quality::high |
The quality of the images. | |
The context menu specifications. By default the menu is pinned to the top left corner of the mouse cursor.