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 "../macros.hpp"
8
#include <cstdint>
9
10
namespace
hi::inline
v1
{
11
12
struct
mouse_buttons {
13
uint8_t left_button : 1;
14
uint8_t middle_button : 1;
15
uint8_t right_button : 1;
16
uint8_t x1_button : 1;
17
uint8_t x2_button : 1;
18
19
constexpr
mouse_buttons() noexcept :
20
left_button(
false
),
21
middle_button(
false
),
22
right_button(
false
),
23
x1_button(
false
),
24
x2_button(
false
)
25
{
26
}
27
};
28
29
}
// namespace hi::inline v1
v1
DOXYGEN BUG.
Definition
algorithm.hpp:16
Generated on
for HikoGUI by
1.16.1