Enigma  3.2.0
A Simple, Reliable and Efficient Encryption Tool
MouseCodes.hpp File Reference
#include <Core/Core.hpp>
#include <GLFW/glfw3.h>

Go to the source code of this file.

Macros

#define ENIGMA_MOUSE_CODES_H
 
#define ENIGMA_MOUSE_BUTTON_0   ::Enigma::Mouse::Button0
 
#define ENIGMA_MOUSE_BUTTON_1   ::Enigma::Mouse::Button1
 
#define ENIGMA_MOUSE_BUTTON_2   ::Enigma::Mouse::Button2
 
#define ENIGMA_MOUSE_BUTTON_3   ::Enigma::Mouse::Button3
 
#define ENIGMA_MOUSE_BUTTON_4   ::Enigma::Mouse::Button4
 
#define ENIGMA_MOUSE_BUTTON_5   ::Enigma::Mouse::Button5
 
#define ENIGMA_MOUSE_BUTTON_6   ::Enigma::Mouse::Button6
 
#define ENIGMA_MOUSE_BUTTON_7   ::Enigma::Mouse::Button7
 
#define ENIGMA_MOUSE_BUTTON_LAST   ::Enigma::Mouse::ButtonLast
 
#define ENIGMA_MOUSE_BUTTON_LEFT   ::Enigma::Mouse::ButtonLeft
 
#define ENIGMA_MOUSE_BUTTON_RIGHT   ::Enigma::Mouse::ButtonRight
 
#define ENIGMA_MOUSE_BUTTON_MIDDLE   ::Enigma::Mouse::ButtonMiddle
 

Typedefs

typedef NS_ENIGMA_BEGIN enum MouseCode Mouse
 

Enumerations

enum class  MouseCode : std::uint16_t {
  Button0 = GLFW_MOUSE_BUTTON_1 , Button1 = GLFW_MOUSE_BUTTON_2 , Button2 = GLFW_MOUSE_BUTTON_3 , Button3 = GLFW_MOUSE_BUTTON_4 ,
  Button4 = GLFW_MOUSE_BUTTON_5 , Button5 = GLFW_MOUSE_BUTTON_6 , Button6 = GLFW_MOUSE_BUTTON_7 , Button7 = GLFW_MOUSE_BUTTON_8 ,
  ButtonLast = Button7 , ButtonLeft = Button0 , ButtonRight = Button1 , ButtonMiddle = Button2
}
 

Functions

std::ostream & operator<< (std::ostream &os, const MouseCode &keyCode)
 

Macro Definition Documentation

◆ ENIGMA_MOUSE_BUTTON_0

#define ENIGMA_MOUSE_BUTTON_0   ::Enigma::Mouse::Button0

Definition at line 32 of file MouseCodes.hpp.

◆ ENIGMA_MOUSE_BUTTON_1

#define ENIGMA_MOUSE_BUTTON_1   ::Enigma::Mouse::Button1

Definition at line 33 of file MouseCodes.hpp.

◆ ENIGMA_MOUSE_BUTTON_2

#define ENIGMA_MOUSE_BUTTON_2   ::Enigma::Mouse::Button2

Definition at line 34 of file MouseCodes.hpp.

◆ ENIGMA_MOUSE_BUTTON_3

#define ENIGMA_MOUSE_BUTTON_3   ::Enigma::Mouse::Button3

Definition at line 35 of file MouseCodes.hpp.

◆ ENIGMA_MOUSE_BUTTON_4

#define ENIGMA_MOUSE_BUTTON_4   ::Enigma::Mouse::Button4

Definition at line 36 of file MouseCodes.hpp.

◆ ENIGMA_MOUSE_BUTTON_5

#define ENIGMA_MOUSE_BUTTON_5   ::Enigma::Mouse::Button5

Definition at line 37 of file MouseCodes.hpp.

◆ ENIGMA_MOUSE_BUTTON_6

#define ENIGMA_MOUSE_BUTTON_6   ::Enigma::Mouse::Button6

Definition at line 38 of file MouseCodes.hpp.

◆ ENIGMA_MOUSE_BUTTON_7

#define ENIGMA_MOUSE_BUTTON_7   ::Enigma::Mouse::Button7

Definition at line 39 of file MouseCodes.hpp.

◆ ENIGMA_MOUSE_BUTTON_LAST

#define ENIGMA_MOUSE_BUTTON_LAST   ::Enigma::Mouse::ButtonLast

Definition at line 40 of file MouseCodes.hpp.

◆ ENIGMA_MOUSE_BUTTON_LEFT

#define ENIGMA_MOUSE_BUTTON_LEFT   ::Enigma::Mouse::ButtonLeft

Definition at line 41 of file MouseCodes.hpp.

◆ ENIGMA_MOUSE_BUTTON_MIDDLE

#define ENIGMA_MOUSE_BUTTON_MIDDLE   ::Enigma::Mouse::ButtonMiddle

Definition at line 43 of file MouseCodes.hpp.

◆ ENIGMA_MOUSE_BUTTON_RIGHT

#define ENIGMA_MOUSE_BUTTON_RIGHT   ::Enigma::Mouse::ButtonRight

Definition at line 42 of file MouseCodes.hpp.

◆ ENIGMA_MOUSE_CODES_H

#define ENIGMA_MOUSE_CODES_H

Definition at line 3 of file MouseCodes.hpp.

Typedef Documentation

◆ Mouse

Mouse codes From glfw3.h

Enumeration Type Documentation

◆ MouseCode

enum MouseCode : std::uint16_t
strong

Mouse codes From glfw3.h

Enumerator
Button0 
Button1 
Button2 
Button3 
Button4 
Button5 
Button6 
Button7 
ButtonLast 
ButtonLeft 
ButtonRight 
ButtonMiddle 

Definition at line 11 of file MouseCodes.hpp.

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  os,
const MouseCode keyCode 
)
inline

Definition at line 27 of file MouseCodes.hpp.