CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
UIEvent.hpp File Reference

Go to the source code of this file.

Classes

struct  CeresEngine::UIEvent
 An object that contains information about an input action such as a mouse click or a key press. More...
 
struct  CeresEngine::UIKeyEvent
 
struct  CeresEngine::UIMouseEvent
 
class  CeresEngine::AnyUIEvent
 A variant type that can hold any UIEvent. More...
 

Namespaces

namespace  CeresEngine
 

Typedefs

using CeresEngine::UIModifierKeys = Flags< UIModifierKey >
 

Enumerations

enum class  CeresEngine::UIEventType {
  CeresEngine::LeftMouseDown , CeresEngine::LeftMouseUp , CeresEngine::RightMouseDown , CeresEngine::RightMouseUp ,
  CeresEngine::MouseMoved , CeresEngine::LeftMouseDragged , CeresEngine::RightMouseDragged , CeresEngine::MouseEntered ,
  CeresEngine::MouseExited , CeresEngine::OtherMouseDown , CeresEngine::OtherMouseUp , CeresEngine::OtherMouseDragged ,
  CeresEngine::KeyDown , CeresEngine::KeyUp , CeresEngine::ScrollWheel , CeresEngine::FlagsChanged
}
 The types of events handled by responder objects. More...
 
enum class  CeresEngine::UIModifierKey : UInt16 {
  CeresEngine::CapsLock = UInt16(ModifierButton::CapsLock) , CeresEngine::Shift = UInt16(ModifierButton::Shift) , CeresEngine::Control = UInt16(ModifierButton::Control) , CeresEngine::Option = UInt16(ModifierButton::Alt) ,
  CeresEngine::Command = UInt16(ModifierButton::Super) , CeresEngine::NumericPad , CeresEngine::Help , CeresEngine::Function
}
 Flags that represent key states in an event object. More...
 

Functions

constexpr Flags< UIModifierKey, std::underlying_type_t< UIModifierKey > > CeresEngine::operator| (UIModifierKey a, UIModifierKey b) noexcept
 
constexpr Flags< UIModifierKey, std::underlying_type_t< UIModifierKey > > CeresEngine::operator& (UIModifierKey a, UIModifierKey b) noexcept
 
constexpr Flags< UIModifierKey, std::underlying_type_t< UIModifierKey > > CeresEngine::operator~ (UIModifierKey a) noexcept