oscr::CustomItem< Item, Control >::custom_mouse_event Struct Reference

Public Types

enum  button { no_button , left = (1 << 1) , right = (1 << 2) , middle = (1 << 3) }
 
enum  modifier {
  no_modifier , shift = (1 << 1) , ctrl = (1 << 2) , alt = (1 << 3) ,
  meta = (1 << 4)
}
 

Public Attributes

float x
 
float y
 
enum button button = {}
 
enum button held_buttons = {}
 
enum modifier modifiers = {}
 

Friends

button & operator|= (button &lhs, button rhs) noexcept
 
modifier & operator|= (modifier &lhs, modifier rhs) noexcept
 

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