Loading...
Searching...
No Matches
hellfire::IWindowEventHandler Class Reference

#include <IWindow.h>

Inheritance diagram for hellfire::IWindowEventHandler:
Collaboration diagram for hellfire::IWindowEventHandler:

Public Member Functions

virtual ~IWindowEventHandler ()=default
 
virtual void on_key_down (int keycode)
 
virtual void on_key_up (int keycode)
 
virtual void on_mouse_button (int button, bool pressed)
 
virtual void on_mouse_move (float x, float y)
 
virtual void on_mouse_wheel (float delta)
 
virtual void on_window_resize (int width, int height)
 
virtual void on_window_minimize (bool minimized)
 
virtual void on_render ()
 

Detailed Description

Definition at line 23 of file IWindow.h.

Constructor & Destructor Documentation

◆ ~IWindowEventHandler()

virtual hellfire::IWindowEventHandler::~IWindowEventHandler ( )
virtualdefault

Member Function Documentation

◆ on_key_down()

virtual void hellfire::IWindowEventHandler::on_key_down ( int  keycode)
inlinevirtual

Reimplemented in hellfire::Application.

Definition at line 28 of file IWindow.h.

◆ on_key_up()

virtual void hellfire::IWindowEventHandler::on_key_up ( int  keycode)
inlinevirtual

Reimplemented in hellfire::Application.

Definition at line 31 of file IWindow.h.

◆ on_mouse_button()

virtual void hellfire::IWindowEventHandler::on_mouse_button ( int  button,
bool  pressed 
)
inlinevirtual

Reimplemented in hellfire::Application.

Definition at line 34 of file IWindow.h.

◆ on_mouse_move()

virtual void hellfire::IWindowEventHandler::on_mouse_move ( float  x,
float  y 
)
inlinevirtual

Reimplemented in hellfire::Application.

Definition at line 37 of file IWindow.h.

◆ on_mouse_wheel()

virtual void hellfire::IWindowEventHandler::on_mouse_wheel ( float  delta)
inlinevirtual

Definition at line 40 of file IWindow.h.

◆ on_render()

virtual void hellfire::IWindowEventHandler::on_render ( )
inlinevirtual

Reimplemented in hellfire::Application.

Definition at line 49 of file IWindow.h.

◆ on_window_minimize()

virtual void hellfire::IWindowEventHandler::on_window_minimize ( bool  minimized)
inlinevirtual

Reimplemented in hellfire::Application.

Definition at line 46 of file IWindow.h.

◆ on_window_resize()

virtual void hellfire::IWindowEventHandler::on_window_resize ( int  width,
int  height 
)
inlinevirtual

Reimplemented in hellfire::Application.

Definition at line 43 of file IWindow.h.


The documentation for this class was generated from the following file: