51 errors.push_back(std::move(message));
57 for (
auto& message : errors) {
65 auto it = widgetsByName.find(widgetName);
66 return (it !=
end(widgetsByName)) ? *it :
nullptr;
76 assert(!widgetsByName.contains(widget.
getName()));
77 widgetsByName.emplace_noDuplicateCheck(&widget);
82 auto it = widgetsByName.find(widget.
getName());
83 assert(it !=
end(widgetsByName));
84 for (
auto& child : (*it)->getChildren()) {
87 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)