Public Member Functions | Protected Member Functions | List of all members
sf::WindowListener Class Referenceabstract

Base class for classes that want to receive events from a window (for internal use only) More...

#include <WindowListener.hpp>

Inheritance diagram for sf::WindowListener:
sf::Input sf::Window sf::RenderWindow

Public Member Functions

virtual void OnEvent (const Event &EventReceived)=0
 Called each time an event is received from attached window. More...
 

Protected Member Functions

virtual ~WindowListener ()
 Destructor. More...
 

Detailed Description

Base class for classes that want to receive events from a window (for internal use only)

Definition at line 42 of file WindowListener.hpp.

Constructor & Destructor Documentation

◆ ~WindowListener()

virtual sf::WindowListener::~WindowListener ( )
inlineprotectedvirtual

Destructor.

Definition at line 60 of file WindowListener.hpp.

Member Function Documentation

◆ OnEvent()

virtual void sf::WindowListener::OnEvent ( const Event EventReceived)
pure virtual

Called each time an event is received from attached window.

Parameters
EventReceived: Event received

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