MCPcopy Index your code
hub / github.com/processing/processing / showCursor

Method showCursor

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

Source from the content-addressed store, hash-verified

1506
1507
1508 @Override
1509 public void showCursor() {
1510 // Maybe should always set here? Seems dangerous, since it's likely that
1511 // Java will set the cursor to something else on its own, and the sketch
1512 // will be stuck b/c p5 thinks the cursor is set to one particular thing.
1513 if (!cursorVisible) {
1514 cursorVisible = true;
1515 canvas.setCursor(Cursor.getPredefinedCursor(cursorType));
1516 }
1517 }
1518
1519
1520 @Override

Callers 1

setTitleMethod · 0.95

Calls 1

setCursorMethod · 0.65

Tested by

no test coverage detected