New module: Platform - Split window management from Utility module (#128)
* New module: Platform - Split window management from Utility module Final touch * NDK/SDK: Bring back initialization of Utility
This commit is contained in:
committed by
Jérôme Leclercq
parent
41a1b5d493
commit
5aa072cee3
23
tests/Engine/Platform/EventHandler/FocusState.hpp
Normal file
23
tests/Engine/Platform/EventHandler/FocusState.hpp
Normal file
@@ -0,0 +1,23 @@
|
||||
#ifndef __FOCUSSTATE_HPP__
|
||||
#define __FOCUSSTATE_HPP__
|
||||
|
||||
#include "BaseState.hpp"
|
||||
|
||||
class StateContext;
|
||||
|
||||
class FocusState : public BaseState
|
||||
{
|
||||
public:
|
||||
FocusState(StateContext& stateContext);
|
||||
|
||||
void Enter(Ndk::StateMachine& fsm) override;
|
||||
|
||||
private:
|
||||
void DrawMenu() override;
|
||||
|
||||
NazaraSlot(Nz::EventHandler, OnGainedFocus, m_gainedFocusSlot);
|
||||
NazaraSlot(Nz::EventHandler, OnLostFocus, m_lostFocusSlot);
|
||||
NazaraSlot(Nz::EventHandler, OnKeyPressed, m_keyPressedSlot);
|
||||
};
|
||||
|
||||
#endif // __FOCUSSTATE_HPP__
|
||||
Reference in New Issue
Block a user