| 414 | } |
| 415 | |
| 416 | bool CheckBox(bool& checked, const StringView label, const Vec2& pos, const Optional<double>& _width, const bool enabled) |
| 417 | { |
| 418 | const Vec2 center = CheckBoxRegion(label, pos, _width).center(); |
| 419 | return CheckBoxAt(checked, label, center, _width, enabled); |
| 420 | } |
| 421 | |
| 422 | bool CheckBoxAt(bool& checked, const StringView label, const Vec2& center, const Optional<double>& _width, const bool enabled) |
| 423 | { |