MCPcopy Create free account
hub / github.com/benfry/processing4 / showCursor

Method showCursor

core/src/processing/awt/PSurfaceAWT.java:1340–1350  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1338
1339
1340 @Override
1341 public void showCursor() {
1342 // Maybe should always set here? Seems dangerous, since it's likely that
1343 // Java will set the cursor to something else on its own, and the sketch
1344 // will be stuck b/c p5 thinks the cursor is set to one particular thing.
1345 if (!cursorVisible) {
1346 cursorVisible = true;
1347 //noinspection MagicConstant
1348 canvas.setCursor(Cursor.getPredefinedCursor(cursorType));
1349 }
1350 }
1351
1352
1353 @Override

Callers 1

setTitleMethod · 0.95

Calls 1

setCursorMethod · 0.65

Tested by

no test coverage detected