MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / windowClose

Method windowClose

src/main/java/field/graphics/Windows.java:310–325  ·  view source on GitHub ↗
(long window)

Source from the content-addressed store, hash-verified

308 if (a != null) a.windowClose(window);
309 };
310
311 if (checkThread()) r.run();
312 else {
313 events.addLast(r);
314 RunLoop.main.shouldSleep.add(Windows.this);
315 RunLoop.main.interrupt();
316 }
317 return true;
318 }
319
320 @Override
321 public void windowPos(long window, int x, int y) {
322 Runnable r = () -> {
323 checkClassLoader();
324 GlfwCallback a = adaptors.get(window);
325 if (a != null)
326 a.windowPos(window, x, y);
327 };
328

Callers

nothing calls this directly

Calls 7

checkClassLoaderMethod · 0.95
windowCloseMethod · 0.95
checkThreadMethod · 0.95
interruptMethod · 0.80
getMethod · 0.65
runMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected