HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
src
hikogui
GUI
mouse_buttons.hpp
1
// Copyright Take Vos 2020.
2
// Distributed under the Boost Software License, Version 1.0.
3
// (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt)
4
5
#pragma once
6
7
#include <cstdint>
8
9
namespace
hi::inline v1 {
10
11
struct
mouse_buttons
{
12
uint8_t leftButton : 1;
13
uint8_t middleButton : 1;
14
uint8_t rightButton : 1;
15
uint8_t x1Button : 1;
16
uint8_t x2Button : 1;
17
uint8_t controlKey : 1;
18
uint8_t shiftKey : 1;
19
20
mouse_buttons
() noexcept :
21
leftButton(
false
),
22
middleButton(
false
),
23
rightButton(
false
),
24
x1Button(
false
),
25
x2Button(
false
),
26
controlKey(
false
),
27
shiftKey(
false
)
28
{
29
}
30
};
31
32
}
// namespace hi::inline v1
v1::mouse_buttons
Definition
mouse_buttons.hpp:11
Generated on Mon Apr 22 2024 12:53:25 for HikoGUI by
1.10.0