| 146 | } |
| 147 | |
| 148 | void Paint(surface_t* surface){ |
| 149 | if(Lemon::Graphics::PointInRect(fixedBounds, menuWindow->lastMousePos)){ |
| 150 | Lemon::Graphics::DrawRect(fixedBounds, Lemon::colours[Lemon::Colour::Foreground], surface); |
| 151 | } |
| 152 | |
| 153 | label.Render(surface); |
| 154 | } |
| 155 | |
| 156 | void OnMouseUp(vector2i_t pos){ |
| 157 | obj->Open(fixedBounds.pos + (vector2i_t){fixedBounds.size.x, 0}); |
no test coverage detected