| 27 | |
| 28 | struct CircleMenuHint { |
| 29 | CircleMenuHint(bool is_dpad, const char *top, const char *right, const char *bottom, const char *left) |
| 30 | : is_dpad(is_dpad) |
| 31 | , top(top) |
| 32 | , top_w(CalculateTextWidth(top)) |
| 33 | , right(right) |
| 34 | , right_w(CalculateTextWidth(right)) |
| 35 | , bottom(bottom) |
| 36 | , bottom_w(CalculateTextWidth(bottom)) |
| 37 | , left(left) |
| 38 | , left_w(CalculateTextWidth(left)) |
| 39 | , x_mid(left_w + SpaceWidth() * 2.5) |
| 40 | { |
| 41 | } |
| 42 | |
| 43 | int width() const |
| 44 | { |
nothing calls this directly
no test coverage detected