1#ifndef IMGUI_SYMBOLS_HH
2#define IMGUI_SYMBOLS_HH
44 void save(ImGuiTextBuffer& buf)
override;
56 template<
bool FILTER_FILE>
57 void drawTable(
MSXMotherBoard* motherBoard,
const std::string& file = {});
59 void drawContext(MSXMotherBoard* motherBoard,
const SymbolRef& sym);
62 void notifySymbolsChanged()
override;
65 SymbolManager& symbolManager;
66 std::vector<SymbolRef> symbols;
68 std::vector<FileInfo> fileError;
70 static constexpr auto persistentElements = std::tuple{
void loadLine(std::string_view name, zstring_view value) override
zstring_view iniName() const override
void save(ImGuiTextBuffer &buf) override
void loadStart() override
void paint(MSXMotherBoard *motherBoard) override
const auto & getFiles() const
Like std::string_view, but with the extra guarantee that it refers to a zero-terminated string.
This file implemented 3 utility functions:
FileInfo(std::string f, std::string e, SymbolFile::Type t, std::optional< int > s)
std::optional< int > slot
std::optional< uint8_t > slot(const SymbolManager &m) const
std::optional< uint16_t > segment(const SymbolManager &m) const
const std::string & name(const SymbolManager &m) const
uint16_t value(const SymbolManager &m) const
std::string_view file(const SymbolManager &m) const