| 121 | } |
| 122 | |
| 123 | void xg::shape::Group::Alpha(float alpha) { |
| 124 | if(!this->IsVisible()) |
| 125 | return; |
| 126 | std::for_each(children_.begin(), children_.end(), [&](std::unique_ptr<Element> &element) -> void { element->Alpha(alpha); }); |
| 127 | } |
| 128 | |
| 129 | xg::shape::Group *xg::shape::Group::AddGroup() { |
| 130 | auto g = std::make_unique<xg::shape::Group>(); |
no test coverage detected