| 102 | } |
| 103 | |
| 104 | static void draw(Window& self, Gfx::DrawingContext& drawingCtx) |
| 105 | { |
| 106 | auto tr = Gfx::TextRenderer(drawingCtx); |
| 107 | |
| 108 | self.draw(drawingCtx); |
| 109 | |
| 110 | auto origin = Point(self.x + (self.width / 2), self.y + (self.height / 2)); |
| 111 | auto width = self.width; |
| 112 | |
| 113 | tr.drawStringCentredClipped(origin, width, Colour::black, StringIds::buffer_1250); |
| 114 | } |
| 115 | |
| 116 | static constexpr WindowEventList kEvents = { |
| 117 | .onClose = onClose, |
nothing calls this directly
no test coverage detected