| 139 | } |
| 140 | |
| 141 | bool Button(const StringView label, const Vec2& pos, const Optional<double>& _width, const bool enabled) |
| 142 | { |
| 143 | const Vec2 center = ButtonRegion(label, pos, _width).center(); |
| 144 | return ButtonAt(label, center, _width, enabled); |
| 145 | } |
| 146 | |
| 147 | bool ButtonAt(const StringView label, const Vec2& center, const Optional<double>& _width, const bool enabled) |
| 148 | { |