Enigma 3.2.2
A Simple, Reliable and Efficient Encryption Tool
Loading...
Searching...
No Matches
ToolsScene.hpp
Go to the documentation of this file.
1#pragma once
2#include "../Scene.hpp"
3#include "Tool.hpp"
4
6
7class ToolsScene : public Enigma::Scene {
8 public: /* Constructors / Destructor */
9 ToolsScene() noexcept;
10 virtual ~ToolsScene() noexcept = default;
11
12 private: /* Overrides */
13 void OnCreate() override;
14 [[maybe_unused]] void OnUpdate(const float&) override;
15 void OnDraw() override;
16 void OnImGuiDraw() override;
17 [[maybe_unused]] void OnEvent(Event&) override;
18 void OnDestroy() override;
19
20 private:
21 std::vector<std::unique_ptr<Tool>> m_tools{}; // Polymorphic tool classes which draws collapsing header view of their context
22};
23
#define NS_ENIGMA_BEGIN
Enable/Disable Assertions.
Definition Macros.hpp:13
#define NS_ENIGMA_END
Definition Macros.hpp:14
Definition Tool.hpp:10
ToolsScene() noexcept