openMSX
ImGuiKeyboard.hh
Go to the documentation of this file.
1#ifndef IMGUI_KEYBOARD_HH
2#define IMGUI_KEYBOARD_HH
3
4#include "ImGuiPart.hh"
5
6namespace openmsx {
7
8class ImGuiKeyboard final : public ImGuiPart
9{
10public:
12
13 [[nodiscard]] zstring_view iniName() const override { return "virtual keyboard"; }
14 void save(ImGuiTextBuffer& buf) override;
15 void loadLine(std::string_view name, zstring_view value) override;
16 void paint(MSXMotherBoard* motherBoard) override;
17
18public:
19 bool show = false;
20
21private:
22 static constexpr auto persistentElements = std::tuple{
24 };
25};
26
27} // namespace openmsx
28
29#endif
zstring_view iniName() const override
void paint(MSXMotherBoard *motherBoard) override
void loadLine(std::string_view name, zstring_view value) override
void save(ImGuiTextBuffer &buf) override
ImGuiPart(ImGuiManager &manager_)
Definition ImGuiPart.hh:12
Like std::string_view, but with the extra guarantee that it refers to a zero-terminated string.
This file implemented 3 utility functions:
Definition Autofire.cc:9