Blender V4.5
GHOST_Buttons.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2001-2002 NaN Holding BV. All rights reserved.
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
9
10#pragma once
11
12#include "GHOST_Types.h"
13
23
25
31 bool get(GHOST_TButton mask) const;
32
38 void set(GHOST_TButton mask, bool down);
39
43 void clear();
44
45 uint8_t m_ButtonLeft : 1;
46 uint8_t m_ButtonMiddle : 1;
47 uint8_t m_ButtonRight : 1;
48 uint8_t m_Button4 : 1;
49 uint8_t m_Button5 : 1;
50 uint8_t m_Button6 : 1;
51 uint8_t m_Button7 : 1;
52};
GHOST_TButton
ccl_device_inline float2 mask(const MaskType mask, const float2 a)
bool get(GHOST_TButton mask) const
uint8_t m_ButtonRight
void set(GHOST_TButton mask, bool down)
uint8_t m_ButtonLeft
uint8_t m_ButtonMiddle