52 errors.push_back(std::move(message));
58 for (
auto& message : errors) {
66 auto it = widgetsByName.find(widgetName);
67 return (it !=
end(widgetsByName)) ? *it :
nullptr;
77 assert(!widgetsByName.contains(widget.
getName()));
78 widgetsByName.emplace_noDuplicateCheck(&widget);
83 auto it = widgetsByName.find(widget.
getName());
84 assert(it !=
end(widgetsByName));
85 for (
auto& child : (*it)->getChildren()) {
88 widgetsByName.erase(it);
94 [](
auto* p) {
return p->getName(); }));
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 transform(Range &&range, UnaryOp op)
auto to_vector(Range &&range) -> std::vector< detail::ToVectorType< T, decltype(std::begin(range))>>
constexpr auto end(const zstring_view &x)