| 84 | } |
| 85 | |
| 86 | static void draw(Ui::Window& self, Gfx::DrawingContext& drawingCtx) |
| 87 | { |
| 88 | // Draw widgets |
| 89 | self.draw(drawingCtx); |
| 90 | |
| 91 | // Draw explanatory text |
| 92 | auto point = Point(self.x + 3, self.y + 19); |
| 93 | auto tr = Gfx::TextRenderer(drawingCtx); |
| 94 | tr.drawStringLeftWrapped(point, self.width - 6, self.getColour(WindowColour::secondary), StringIds::objectErrorExplanation); |
| 95 | } |
| 96 | |
| 97 | static StringId objectTypeToString(ObjectType type) |
| 98 | { |
nothing calls this directly
no test coverage detected