WindowListener.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include "../OpenGL/RenderTarget.hpp"
5 
6 namespace iv
7 {
8 
13 {
14 public:
15 
16  virtual ~WindowListener(){};
17 
22  virtual bool input( const Input * input ) = 0;
23 
26  virtual void focus_lost() = 0;
27 
31  virtual void update( uint64_t delta_ms ) = 0;
32 
37  virtual bool extra_update() = 0;
38 
41  virtual void draw() = 0;
42 
46  virtual void gpu( bool enabled, bool dropped ) = 0;
47 
60  virtual void resized( RenderTarget::Geometry ) = 0;
61 };
62 
63 }