Nebula
Loading...
Searching...
No Matches
imguiinputhandler.h
Go to the documentation of this file.
1#pragma once
2//------------------------------------------------------------------------------
11//------------------------------------------------------------------------------
12#include "core/refcounted.h"
13#include "input/inputhandler.h"
14
15namespace Dynui
16{
18{
20public:
24 virtual ~ImguiInputHandler();
25
27 virtual void BeginCapture() override;
29 virtual void EndCapture() override;
30
31protected:
32
34 virtual bool OnEvent(const Input::InputEvent& inputEvent) override;
35
36private:
38};
39} // namespace Dynui
virtual void EndCapture() override
end input capturing to this event handler
Definition imguiinputhandler.cc:45
ImguiInputHandler()
constructor
Definition imguiinputhandler.cc:18
virtual bool OnEvent(const Input::InputEvent &inputEvent) override
called when an input event should be processed
Definition imguiinputhandler.cc:55
virtual void BeginCapture() override
capture input to this event handler
Definition imguiinputhandler.cc:35
Util::Array< Input::InputEvent > inputEvents
Definition imguiinputhandler.h:37
virtual ~ImguiInputHandler()
destructor
Definition imguiinputhandler.cc:26
__DeclareClass(ImguiInputHandler)
The input events of the Input subsystems.
Definition inputevent.h:24
Input handlers receive and process input events.
Definition inputhandler.h:29
Nebula's dynamic array class.
Definition array.h:61
Imgui Profiler UI.
Definition imguiconsole.cc:195