HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
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
9namespace hi::inline v1 {
10
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
Definition mouse_buttons.hpp:11