Hana
Loading...
Searching...
No Matches
ImGuiLayer.h
1#pragma once
2
3#include "Hana/Core/Layer.h"
4
5#include "Hana/Events/ApplicationEvent.h"
6#include "Hana/Events/KeyEvent.h"
7#include "Hana/Events/MouseEvent.h"
8
9namespace Hana
10{
11 class ImGuiLayer : public Layer
12 {
13 public:
14 ImGuiLayer();
15 ~ImGuiLayer() = default;
16
17 virtual void OnAttach() override;
18 virtual void OnDetach() override;
19
20 void Begin();
21 void End();
22 private:
23 float m_Time = 0.0f;
24 };
25}