demotool/ui-input.hh
Emmanuel BENOîT 89d125761a UI - Some refactoring
Basically trying to separate stuff from window.hh
2017-11-23 12:46:48 +01:00

22 lines
375 B
C++

#pragma once
#ifndef REAL_BUILD
# include "externals.hh"
#endif
enum class E_MouseButton {
LEFT ,
MIDDLE ,
RIGHT ,
};
using T_MouseButtons = T_Flags< E_MouseButton >;
/*------------------------------------------------------------------------------*/
enum class E_KeyboardModifier
{
CTRL ,
SHIFT ,
ALT ,
};
using T_KeyboardModifiers = T_Flags< E_KeyboardModifier >;