(long window, int character)
| 272 | GlfwCallback a = adaptors.get(window); |
| 273 | if (a != null) |
| 274 | a.character(window, character); |
| 275 | }; |
| 276 | |
| 277 | if (checkThread()) r.run(); |
| 278 | else { |
| 279 | events.addLast(r); |
| 280 | RunLoop.main.shouldSleep.add(Windows.this); |
| 281 | RunLoop.main.interrupt(); |
| 282 | } |
| 283 | } |
| 284 | |
| 285 | @Override |
| 286 | public void drop(long window, String[] files) { |
| 287 | Runnable r = () -> { |
| 288 | checkClassLoader(); |
| 289 | // cursorPos is given just before drop to tell us where the drop has occured. |
| 290 | GlfwCallback a = adaptors.get(window); |
| 291 | if (a != null) a.drop(window, files); |
| 292 | }; |
| 293 |
nothing calls this directly
no test coverage detected