Photon Editor Library 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
DisplayFocusChangedEvent.h
Go to the documentation of this file.
1#pragma once
2
4
5namespace ph::editor
6{
7
8class DisplayFocusChangedEvent final : public Event
9{
10public:
12
13 bool isFocused() const;
14
15private:
16 bool m_isFocused;
17};
18
20 : Event()
21 , m_isFocused(isFocused)
22{}
23
25{
26 return m_isFocused;
27}
28
29}// end namespace ph::editor
Definition DisplayFocusChangedEvent.h:9
DisplayFocusChangedEvent(bool isFocused)
Definition DisplayFocusChangedEvent.h:19
bool isFocused() const
Definition DisplayFocusChangedEvent.h:24
Base of all event types. Derived classes should strive to keep the size of the object small,...
Definition Event.h:59
Definition ph_editor.h:10