Ocular Engine
WindowResizeEvent.hpp
1 
17 #pragma once
18 #ifndef __H__OCULAR_EVENTS_WINDOW_Resize_EVENT__H__
19 #define __H__OCULAR_EVENTS_WINDOW_Resize_EVENT__H__
20 
21 #include "Events/AEvent.hpp"
22 #include "Renderer/Window/Window.hpp"
23 
24 //------------------------------------------------------------------------------------------
25 
30 namespace Ocular
31 {
36  namespace Core
37  {
54  class WindowResizeEvent : public AEvent
55  {
56  public:
57 
58  WindowResizeEvent(AWindow* pWindow, uint32_t pWidth, uint32_t pHeight);
59  virtual ~WindowResizeEvent();
60 
61  //----------------------------------------
62 
63  uint32_t width;
64  uint32_t height;
65 
66  AWindow* window;
67 
68  protected:
69 
70  private:
71 
72  };
73  }
77 }
82 //------------------------------------------------------------------------------------------
83 
84 #endif
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70
Definition: Window.hpp:60
Definition: WindowResizeEvent.hpp:54
Definition: AEvent.hpp:44