Separate out cursor handling

Make cursor handling more generic in preparation for generic handling
of corner cases.
This commit is contained in:
Pierre Ossman
2018-02-28 16:08:25 +01:00
parent e62b4ccb5e
commit b475eed5fa
4 changed files with 80 additions and 63 deletions

View File

@@ -113,9 +113,6 @@ None
| blitRgbImage | (x, y, width, height, arr, offset, from_queue) | Blit RGB encoded image to display
| blitRgbxImage | (x, y, width, height, arr, offset, from_queue) | Blit RGBX encoded image to display
| drawImage | (img, x, y) | Draw image and track damage
| changeCursor | (pixels, mask, hotx, hoty, w, h) | Change cursor appearance
| defaultCursor | () | Restore default cursor appearance
| disableLocalCursor | () | Disable local (client-side) cursor
| autoscale | (containerWidth, containerHeight) | Scale the display
### 2.3.3 Callbacks