Comparing version 4.0.0 to 4.1.0
{ | ||
"author": "Luis Blanco <luisblanco1337@gmail.com>", | ||
"name": "glfw-raub", | ||
"version": "4.0.0", | ||
"version": "4.1.0", | ||
"description": "GLFW for Node.js", | ||
@@ -34,3 +34,3 @@ "license": "MIT", | ||
"config": { | ||
"install": "v4.0.0" | ||
"install": "v4.1.0" | ||
}, | ||
@@ -37,0 +37,0 @@ "scripts": { |
@@ -50,2 +50,4 @@ # GLFW for Node.js | ||
Classes `Window` and `Document` are created for convenience and documented in more detail below. | ||
---------- | ||
@@ -125,4 +127,5 @@ | ||
* `get/set string title` - window title. | ||
* `get/set {width, height, Buffer data} icon` - window icon in RGBA format. Consider | ||
using [this Image implementation](https://github.com/raub/node-image). | ||
* `get/set {width, height, Buffer data, ?noflip} icon` - window icon in RGBA format. Consider | ||
using [this Image implementation](https://github.com/node-3d/image-raub). The given image is | ||
vertically flipped if `noflip` is not set to `true`. Also see [this example](examples/icon.js). | ||
* `get/set boolean shouldClose` - if window is going to be closed. | ||
@@ -129,0 +132,0 @@ * `get/set number x` - window position X-coordinate on the screen. |
32075
209