HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
src
hikogui
GUI
mouse_buttons.hpp
1
// Copyright Take Vos 2020, 2022.
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 left_button : 1;
13
uint8_t middle_button : 1;
14
uint8_t right_button : 1;
15
uint8_t x1_button : 1;
16
uint8_t x2_button : 1;
17
18
constexpr
mouse_buttons
() noexcept :
19
left_button(
false
),
20
middle_button(
false
),
21
right_button(
false
),
22
x1_button(
false
),
23
x2_button(
false
)
24
{
25
}
26
};
27
28
}
// namespace hi::inline v1
v1
DOXYGEN BUG.
Definition
algorithm.hpp:15
v1::mouse_buttons
Definition
mouse_buttons.hpp:11
Generated on Mon Apr 22 2024 12:51:52 for HikoGUI by
1.10.0