openMSX
ImGuiHelp.hh
Go to the documentation of this file.
1#ifndef IMGUI_HELP_HH
2#define IMGUI_HELP_HH
3
4#include "ImGuiPart.hh"
5
6#include "GLUtil.hh"
7
8#include <optional>
9
10namespace openmsx {
11
12// This used to be an inner class of ImGuiHelp, but for some reason that didn't compile with (some version of) clang???
13// Moving it outside is a workaround.
20
21class ImGuiHelp final : public ImGuiPart
22{
23public:
25
26 void showMenu(MSXMotherBoard* motherBoard) override;
27 void paint(MSXMotherBoard* motherBoard) override;
28
29private:
30 void paintAbout();
31
32private:
33 bool showImGuiUserGuide = false;
34 bool showAboutOpenMSX = false;
35 bool showAboutImGui = false;
36
37 std::optional<LogoImage> logo; // initialized on first use
38};
39
40} // namespace openmsx
41
42#endif
Most basic/generic texture: only contains a texture ID.
Definition GLUtil.hh:39
void paint(MSXMotherBoard *motherBoard) override
Definition ImGuiHelp.cc:36
void showMenu(MSXMotherBoard *motherBoard) override
Definition ImGuiHelp.cc:20
ImGuiPart(ImGuiManager &manager_)
Definition ImGuiPart.hh:12
This file implemented 3 utility functions:
Definition Autofire.cc:11
gl::Texture texture
Definition ImGuiHelp.hh:17