fixes buffer size and adds pixel size to paint event
This commit is contained in:
parent
230943d425
commit
50485a28d3
7 changed files with 20 additions and 8 deletions
|
@ -352,7 +352,7 @@ Emitted when the cursor's type changes. The `type` parameter can be `default`,
|
|||
`not-allowed`, `zoom-in`, `zoom-out`, `grab`, `grabbing`, `custom`.
|
||||
|
||||
If the `type` parameter is `custom`, the `image` parameter will hold the custom
|
||||
cursor image in a `NativeImage`, and `scale`, `size` and `hotspot` will hold
|
||||
cursor image in a `NativeImage`, and `scale`, `size` and `hotspot` will hold
|
||||
additional information about the custom cursor.
|
||||
|
||||
#### Event: 'context-menu'
|
||||
|
@ -471,6 +471,7 @@ Returns:
|
|||
* `bitmapSize` Object
|
||||
* `width` Number - the width of the whole bitmap
|
||||
* `height` Number - the height of the whole bitmap
|
||||
* `pixel` Number - The number of bytes per pixel
|
||||
|
||||
Emitted when a new frame is generated. Only the dirty area is passed in the
|
||||
buffer.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue