opynsim
Unofficial C++ Documentation
Loading...
Searching...
No Matches
mouse_button.h
Go to the documentation of this file.
1#pragma once
2
3namespace osc
4{
5 enum class MouseButton : unsigned {
6 None = 0, // no button is associated with the `MouseEvent` (e.g. moving the mouse)
7 Left = 1<<0,
8 Right = 1<<1,
9 Middle = 1<<2,
10 Back = 1<<3, // sometimes called X1 (SDL), ExtraButton1 (Qt)
11 Forward = 1<<4, // sometimes called X2 (SDL), ExtraButton2 (Qt)
12 };
13}
Definition custom_decoration_generator.h:5
MouseButton
Definition mouse_button.h:5