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
hi_export_module(hikogui.GUI : mouse_buttons);
11
12
hi_export
namespace
hi::inline
v1
{
13
14
struct
mouse_buttons {
15
uint8_t left_button : 1;
16
uint8_t middle_button : 1;
17
uint8_t right_button : 1;
18
uint8_t x1_button : 1;
19
uint8_t x2_button : 1;
20
21
constexpr
mouse_buttons() noexcept :
22
left_button(
false
),
23
middle_button(
false
),
24
right_button(
false
),
25
x1_button(
false
),
26
x2_button(
false
)
27
{
28
}
29
};
30
31
}
// namespace hi::inline v1
v1
DOXYGEN BUG.
Definition
algorithm_misc.hpp:20
Generated on
for HikoGUI by
1.16.1