Vesper 0.5.1
Vesper is short form for the Latin word for "Bat", as Vesper is designed to be small, lightweight, and easily handle things like particles and flocking behaviors in accordance with the nature of bats. \n It is meant to be a particle simulation, VFX editor, and CAN be used secondarily as a small game engine.
GitHub | Vesper Updates | Creator
Loading...
Searching...
No Matches
OpenGLImGuiLayer.h
Go to the documentation of this file.
1#pragma once
2
3#include "Vesper/Core/Base.h"
4#include "Vesper/Events/Event.h"
5#include "Vesper/Events/ApplicationEvent.h"
6#include "Vesper/Events/KeyEvent.h"
7#include "Vesper/Events/MouseEvent.h"
8#include "Vesper/App/Layer.h"
9#include "Vesper/ImGui/ImGuiLayer.h"
10
11namespace Vesper {
12
14 {
15 public:
18
19 virtual void OnAttach() override;
20 virtual void OnDetach() override;
21 virtual void OnImGuiRender() override;
22 virtual void OnEvent(Event& e) override;
23
24 virtual void Begin() override;
25 virtual void End() override;
26
27 virtual void SetBlockEvents(bool block) { m_BlockEvents = block; }
28 virtual void SetDarkThemeColors() override;
29
30 };
31
32}
Abstract base class for all events.
Definition Event.h:37
Definition ImGuiLayer.h:13
virtual void OnEvent(Event &e) override
Called when an event is dispatched to the layer.
Definition ImGuiLayer.cpp:86
ImGuiLayer()
Definition ImGuiLayer.cpp:21
virtual void Begin()
Definition ImGuiLayer.cpp:95
virtual void OnDetach() override
Called when the layer is detached from the application.
Definition ImGuiLayer.cpp:69
virtual void OnImGuiRender() override
Called when the layer should render its ImGui components.
Definition ImGuiLayer.cpp:81
virtual void SetDarkThemeColors()
Definition ImGuiLayer.cpp:120
bool m_BlockEvents
Definition ImGuiLayer.h:29
virtual void End()
Definition ImGuiLayer.cpp:104
virtual void OnAttach() override
Called when the layer is attached to the application.
Definition ImGuiLayer.cpp:29
Definition OpenGLImGuiLayer.h:14
virtual void OnImGuiRender() override
Called when the layer should render its ImGui components.
Definition OpenGLImGuiLayer.cpp:44
virtual void SetBlockEvents(bool block)
Definition OpenGLImGuiLayer.h:27
~OpenGLImGuiLayer()
Definition OpenGLImGuiLayer.cpp:24
OpenGLImGuiLayer()
Definition OpenGLImGuiLayer.cpp:20
virtual void Begin() override
Definition OpenGLImGuiLayer.cpp:58
virtual void OnDetach() override
Called when the layer is detached from the application.
Definition OpenGLImGuiLayer.cpp:36
virtual void End() override
Definition OpenGLImGuiLayer.cpp:63
virtual void OnEvent(Event &e) override
Called when an event is dispatched to the layer.
Definition OpenGLImGuiLayer.cpp:51
virtual void SetDarkThemeColors() override
Definition OpenGLImGuiLayer.cpp:68
virtual void OnAttach() override
Called when the layer is attached to the application.
Definition OpenGLImGuiLayer.cpp:28
TEMPORARY.
Definition WindowsInput.cpp:7