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

Method windowSize

src/main/java/field/graphics/Windows.java:344–359  ·  view source on GitHub ↗
(long window, int w, int h)

Source from the content-addressed store, hash-verified

342 if (a != null)
343 a.windowSize(window, w, h);
344 };
345
346 if (checkThread()) r.run();
347 else {
348 events.addLast(r);
349 RunLoop.main.shouldSleep.add(Windows.this);
350 RunLoop.main.interrupt();
351 }
352 }
353
354 @Override
355 public void framebufferSize(long window, int w, int h) {
356 Runnable r = () -> {
357 checkClassLoader();
358 GlfwCallback a = adaptors.get(window);
359 if (a != null)
360 a.framebufferSize(window, w, h);
361 };
362

Callers

nothing calls this directly

Calls 7

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

Tested by

no test coverage detected