Index

zydeco / a4d3636

Experiment in graphics programming, C++, OpenGL, simulation techniques.

Latest Commit

{#}TimeHashSubjectAuthor#(+)(-)GPG?
405 Aug 2023 20:500dd781aCreate event handling and threads structureJosh Stockin1200G

Blob @ zydeco / include / events / IEventWindowSubscriber.hpp

text/plain507 bytesdownload raw
1#ifndef IEVENT_WINDOW_SUBSCRIBER_HPP_
2#define IEVENT_WINDOW_SUBSCRIBER_HPP_
3
4
5#include <cstdint>
6
7
8class IEventWindowSubscriber
9{
10public:
11 virtual void OnWindowMinimizedEvent() = 0;
12 virtual void OnWindowMaximizedEvent() = 0;
13 virtual void OnWindowRestoredEvent() = 0;
14 virtual void OnWindowExposedEvent() = 0;
15 virtual void OnWindowResizedEvent(uint64_t new_width, uint64_t new_height) = 0;
16 virtual void OnWindowRequestedCloseEvent() = 0;
17};
18
19
20#endif /* IEVENT_WINDOW_SUBSCRIBER_HPP_ */
21