MCPcopy Create free account
hub / github.com/HumbleUI/JWM / EventWindowResize

Class EventWindowResize

shared/java/EventWindowResize.java:6–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4import io.github.humbleui.types.*;
5
6@AllArgsConstructor @Data
7public 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}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected