46 errors.push_back(std::move(message));
52 for (
auto& message : errors) {
60 auto it = widgetsByName.find(widgetName);
61 return (it !=
end(widgetsByName)) ? *it :
nullptr;
71 assert(!widgetsByName.contains(widget.
getName()));
72 widgetsByName.emplace_noDuplicateCheck(&widget);
77 auto it = widgetsByName.find(widget.
getName());
78 assert(it !=
end(widgetsByName));
79 for (
auto& child : (*it)->getChildren()) {
82 widgetsByName.erase(it);
void printWarning(std::string_view message)
Represents the output window/screen of openMSX.
CliComm & getCliComm() const
A frame buffer where pixels can be written to.
gl::ivec2 getLogicalSize() const
This file implemented 3 utility functions:
constexpr auto end(const zstring_view &x)