| 4 | import io.github.humbleui.types.*; |
| 5 | |
| 6 | @AllArgsConstructor @Data |
| 7 | public class EventWindowResize implements Event { |
| 8 | public final int _windowWidth; |
| 9 | public final int _windowHeight; |
| 10 | public final int _contentWidth; |
| 11 | public final int _contentHeight; |
| 12 | |
| 13 | public EventWindowResize(Window w) { |
| 14 | IRect wr = w.getWindowRect(); |
| 15 | _windowWidth = wr.getWidth(); |
| 16 | _windowHeight = wr.getHeight(); |
| 17 | IRect cr = w.getContentRect(); |
| 18 | _contentWidth = cr.getWidth(); |
| 19 | _contentHeight = cr.getHeight(); |
| 20 | } |
| 21 | } |
nothing calls this directly
no outgoing calls
no test coverage detected