Open CASCADE Technology  7.5.0
Typedefs | Enumerations
Aspect_VKeyFlags.hxx File Reference

Typedefs

typedef unsigned int Aspect_VKeyFlags
 Key modifier, for combining with general key from Aspect_VKey. More...
 
typedef unsigned int Aspect_VKeyMouse
 Mouse buttons, for combining with Aspect_VKey and Aspect_VKeyFlags. More...
 

Enumerations

enum  {
  Aspect_VKeyFlags_NONE = 0, Aspect_VKeyFlags_SHIFT = 1 << 8, Aspect_VKeyFlags_CTRL = 1 << 9, Aspect_VKeyFlags_ALT = 1 << 10,
  Aspect_VKeyFlags_MENU = 1 << 11, Aspect_VKeyFlags_META = 1 << 12, Aspect_VKeyFlags_ALL = Aspect_VKeyFlags_SHIFT | Aspect_VKeyFlags_CTRL | Aspect_VKeyFlags_ALT | Aspect_VKeyFlags_MENU | Aspect_VKeyFlags_META
}
 Key modifier, for combining with general key from Aspect_VKey. More...
 
enum  {
  Aspect_VKeyMouse_NONE = 0, Aspect_VKeyMouse_LeftButton = 1 << 13, Aspect_VKeyMouse_MiddleButton = 1 << 14, Aspect_VKeyMouse_RightButton = 1 << 15,
  Aspect_VKeyMouse_MainButtons = Aspect_VKeyMouse_LeftButton | Aspect_VKeyMouse_MiddleButton | Aspect_VKeyMouse_RightButton
}
 Mouse button bitmask. More...
 

Typedef Documentation

◆ Aspect_VKeyFlags

typedef unsigned int Aspect_VKeyFlags

Key modifier, for combining with general key from Aspect_VKey.

◆ Aspect_VKeyMouse

typedef unsigned int Aspect_VKeyMouse

Mouse buttons, for combining with Aspect_VKey and Aspect_VKeyFlags.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

Key modifier, for combining with general key from Aspect_VKey.

Enumerator
Aspect_VKeyFlags_NONE 
Aspect_VKeyFlags_SHIFT 

Aspect_VKey_Shift.

Aspect_VKeyFlags_CTRL 

Aspect_VKey_Control.

Aspect_VKeyFlags_ALT 

Aspect_VKey_Alt.

Aspect_VKeyFlags_MENU 

Aspect_VKey_Menu.

Aspect_VKeyFlags_META 

Aspect_VKey_Meta.

Aspect_VKeyFlags_ALL 

◆ anonymous enum

anonymous enum

Mouse button bitmask.

Enumerator
Aspect_VKeyMouse_NONE 

no buttons

Aspect_VKeyMouse_LeftButton 

mouse left button

Aspect_VKeyMouse_MiddleButton 

mouse middle button (scroll)

Aspect_VKeyMouse_RightButton 

mouse right button

Aspect_VKeyMouse_MainButtons