SGCT
master (487fac4)
Simple Graphics Cluster Toolkit
Toggle main menu visibility
Loading...
Searching...
No Matches
modifiers.h
Go to the documentation of this file.
1
/*****************************************************************************************
2
* SGCT *
3
* Simple Graphics Cluster Toolkit *
4
* *
5
* Copyright (c) 2012-2026 *
6
* For conditions of distribution and use, see copyright notice in LICENSE.md *
7
****************************************************************************************/
8
9
#ifndef __SGCT__MODIFIERS__H__
10
#define __SGCT__MODIFIERS__H__
11
12
// abock(2019-10-02); The values here are hardcoded as I don't want to pull in the
13
// entirety of GLFW in this header just for the definitions. And they most likely will
14
// not change anytime soon anyway (famous last words)
15
16
namespace
sgct
{
17
18
enum class
Modifier
{
19
Shift
= 0x0001,
// = GLFW_MOD_SHIFT;
20
Control
= 0x0002,
// = GLFW_MOD_CONTROL;
21
Alt
= 0x0004,
// = GLFW_MOD_ALT;
22
Super
= 0x0008
// = GLFW_MOD_SUPER;
23
};
24
25
}
// namespace sgct
26
27
#endif
// __SGCT__MODIFIERS__H__
sgct
Definition
actions.h:16
sgct::Modifier
Modifier
Definition
modifiers.h:18
sgct::Modifier::Super
@ Super
Definition
modifiers.h:22
sgct::Modifier::Shift
@ Shift
Definition
modifiers.h:19
sgct::Modifier::Control
@ Control
Definition
modifiers.h:20
sgct::Modifier::Alt
@ Alt
Definition
modifiers.h:21
sgct
modifiers.h
Generated by
1.18.0