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

Method windowRefresh

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

Source from the content-addressed store, hash-verified

135 @Override
136 public void windowRefresh(long window) {
137 Runnable r = () -> {
138 checkClassLoader();
139 GlfwCallback a = adaptors.get(window);
140 if (a != null) a.windowRefresh(window);
141 };
142
143 if (checkThread()) r.run();
144 else {
145 events.addLast(r);
146 RunLoop.main.shouldSleep.add(Windows.this);
147 RunLoop.main.interrupt();
148 }
149 }
150
151
152 boolean fakeButton1 = false;
153
154 @Override

Callers

nothing calls this directly

Calls 7

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

Tested by

no test coverage detected