Photon Editor Library 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
Event.h File Reference
#include <Common/primitive_type.h>
#include <Common/assertion.h>
#include <Math/math.h>
#include <Utility/utility.h>
#include <string>

Go to the source code of this file.

Classes

class  ph::editor::Event
 Base of all event types. Derived classes should strive to keep the size of the object small, as event objects are often passed by value for thread safety and ease of lifetime management, or being captured by functors. The type should also remain trivially-copyable. More...
 

Namespaces

namespace  ph
 
namespace  ph::editor
 

Enumerations

enum class  ph::editor::EEventType {
  ph::editor::Unknown = 0 , ph::editor::DisplayClose , ph::editor::DisplayResize , ph::editor::DisplayFocus ,
  ph::editor::DisplayLostFocus , ph::editor::DisplayMove , ph::editor::FramebufferResize , ph::editor::AppTick ,
  ph::editor::AppUpdate , ph::editor::AppRender , ph::editor::KeyDown , ph::editor::KeyUp ,
  ph::editor::KeyHit , ph::editor::MouseButtonDown , ph::editor::MouseButtonUp , ph::editor::MouseClick ,
  ph::editor::MouseScroll , ph::editor::MouseMove
}
 
enum class  ph::editor::EEventSource : uint32f {
  ph::editor::Unknown = 0 , ph::editor::App = math::flag_bit<uint32f, 0>() , ph::editor::Input = math::flag_bit<uint32f, 1>() , ph::editor::Keyboard = math::flag_bit<uint32f, 2>() ,
  ph::editor::Mouse = math::flag_bit<uint32f, 3>() , ph::editor::MouseButton = math::flag_bit<uint32f, 4>()
}