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

Method windowPos

src/main/java/field/graphics/Windows.java:327–342  ·  view source on GitHub ↗
(long window, int x, int y)

Source from the content-addressed store, hash-verified

325 if (a != null)
326 a.windowPos(window, x, y);
327 };
328
329 if (checkThread()) r.run();
330 else {
331 events.addLast(r);
332 RunLoop.main.shouldSleep.add(Windows.this);
333 RunLoop.main.interrupt();
334 }
335 }
336
337 @Override
338 public void windowSize(long window, int w, int h) {
339 Runnable r = () -> {
340 checkClassLoader();
341 GlfwCallback a = adaptors.get(window);
342 if (a != null)
343 a.windowSize(window, w, h);
344 };
345

Callers

nothing calls this directly

Calls 7

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

Tested by

no test coverage detected