openMSX
ImGuiWaveViewer.hh
Go to the documentation of this file.
1#ifndef IMGUI_WAVEVIEWER_HH
2#define IMGUI_WAVEVIEWER_HH
3
4#include "ImGuiPart.hh"
5
6namespace openmsx {
7
8class ImGuiWaveViewer final : public ImGuiPart
9{
10public:
11 explicit ImGuiWaveViewer(ImGuiManager& manager_)
12 : ImGuiPart(manager_) {}
13
14 [[nodiscard]] zstring_view iniName() const override { return "wave-viewer"; }
15 void save(ImGuiTextBuffer& buf) override;
16 void loadLine(std::string_view name, zstring_view value) override;
17 void paint(MSXMotherBoard* motherBoard) override;
18
19public:
20 bool show = false;
21
22private:
23 static constexpr auto persistentElements = std::tuple{
25 };
26};
27
28} // namespace openmsx
29
30#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
ImGuiWaveViewer(ImGuiManager &manager_)
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:11