Compare commits

..

2 Commits

Author SHA1 Message Date
Renovate 6765074bc2 Update actions/checkout action to v6
Build and Test / build (pull_request) Successful in 47s
2026-05-13 11:09:30 +00:00
seeseemelk 7c0321265a Fix build
Build and Test / build (push) Successful in 34s
2026-05-13 13:04:16 +02:00
3 changed files with 19 additions and 0 deletions
@@ -0,0 +1,15 @@
package be.seeseemelk.diceos.system;
import io.avaje.inject.Component;
import lombok.RequiredArgsConstructor;
@Component
@RequiredArgsConstructor
public class WindowSpawnTask implements OnStartup {
private final WindowService windowService;
@Override
public void onStartup() {
windowService.spawnWindow(50, 50, 200, 150);
}
}
@@ -21,6 +21,10 @@ public class Window extends Container {
this.decoration = decoration;
}
public boolean isHovered(int mouseX, int mouseY) {
return mouseX >= x && mouseX <= x + width && mouseY >= y && mouseY <= y + height;
}
private int dragOffsetX, dragOffsetY;
private boolean isDragging;
Binary file not shown.

After

Width:  |  Height:  |  Size: 205 B