lecui 1.0.0-alpha.20
lecui C++ user interface library
Public Attributes | List of all members
liblec::lecui::context_menu::specs Struct Reference

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_itemitems
 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.
 

Detailed Description

The context menu specifications. By default the menu is pinned to the top left corner of the mouse cursor.


The documentation for this struct was generated from the following file: