Enigma  3.2.0
A Simple, Reliable and Efficient Encryption Tool
MainMenuScene.hpp
Go to the documentation of this file.
1 #pragma once
2 #include "Scene.hpp"
3 
5 
6 class MainMenuScene : public Enigma::Scene {
7  public: /* Constructors / Destructor */
8  MainMenuScene() noexcept;
9  virtual ~MainMenuScene() = default;
10 
11  private: /* Overrides */
12  void OnCreate() override;
13  [[maybe_unused]] void OnUpdate(const float&) override;
14  void OnDraw() override;
15  void OnImGuiDraw() override;
16  [[maybe_unused]] void OnEvent(Enigma::Event&) override;
17  void OnDestroy() override;
18 
19  private: /* Callbacks */
20  // Buttons
21  void OnEncryptFileButtonPressed();
22  void OnDecryptFileButtonPressed();
23  void OnEncryptTextButtonPressed();
24  void OnDecryptTextButtonPressed();
25  void OnMyEncryptionsButtonPressed();
26  void OnToolsButtonPressed();
27  // Menu
28  void OnReportIssueMenuButtonPressed();
29  void OnCheckForUpdatesMenuButtonPressed();
30  void OnAboutMenuButtonPressed();
31 
32  void OnExportEncryptionsButtonPressed();
33  void OnImportEncryptionsButtonPressed();
34 
35  private:
36  //std::unique_ptr<ImGuiWidgets::Image> m_logo{};
37 };
38 
#define NS_ENIGMA_BEGIN
Enable/Disable Assertions.
Definition: Macros.hpp:13
#define NS_ENIGMA_END
Definition: Macros.hpp:14
Definition: Event.hpp:66
MainMenuScene() noexcept