@girs/gsk-4.0 4.0.0-3.2.6 → 4.0.0-3.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/gsk-4.0.d.cts +6 -6
- package/gsk-4.0.d.ts +6 -6
- package/package.json +14 -14
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
GJS TypeScript type definitions for Gsk-4.0, generated from library version 4.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.
|
|
8
|
+
GJS TypeScript type definitions for Gsk-4.0, generated from library version 4.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.7.
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
## Install
|
package/gsk-4.0.d.cts
CHANGED
|
@@ -408,7 +408,7 @@ export function serialization_error_quark(): GLib.Quark
|
|
|
408
408
|
* @param string the string to parse
|
|
409
409
|
* @returns %TRUE if @string described a valid transform.
|
|
410
410
|
*/
|
|
411
|
-
export function transform_parse(string: string
|
|
411
|
+
export function transform_parse(string: string): [ /* returnType */ boolean, /* out_transform */ Transform ]
|
|
412
412
|
/**
|
|
413
413
|
* Retrieves the `GskRenderNode` stored inside the given `value`, and acquires
|
|
414
414
|
* a reference to it.
|
|
@@ -1151,7 +1151,7 @@ export interface DebugNode {
|
|
|
1151
1151
|
* Gets the debug message that was set on this node
|
|
1152
1152
|
* @returns The debug message
|
|
1153
1153
|
*/
|
|
1154
|
-
get_message(): string
|
|
1154
|
+
get_message(): string
|
|
1155
1155
|
}
|
|
1156
1156
|
|
|
1157
1157
|
/**
|
|
@@ -1299,7 +1299,7 @@ export interface GLShader {
|
|
|
1299
1299
|
* @param name uniform name
|
|
1300
1300
|
* @returns The index of the uniform, or -1
|
|
1301
1301
|
*/
|
|
1302
|
-
find_uniform_by_name(name: string
|
|
1302
|
+
find_uniform_by_name(name: string): number
|
|
1303
1303
|
/**
|
|
1304
1304
|
* Gets the value of the uniform `idx` in the `args` block.
|
|
1305
1305
|
*
|
|
@@ -1398,7 +1398,7 @@ export interface GLShader {
|
|
|
1398
1398
|
* @param idx index of the uniform
|
|
1399
1399
|
* @returns The name of the declared uniform
|
|
1400
1400
|
*/
|
|
1401
|
-
get_uniform_name(idx: number): string
|
|
1401
|
+
get_uniform_name(idx: number): string
|
|
1402
1402
|
/**
|
|
1403
1403
|
* Get the offset into the data block where data for this uniforms is stored.
|
|
1404
1404
|
* @param idx index of the uniform
|
|
@@ -1565,7 +1565,7 @@ export class GLShader extends GObject.Object {
|
|
|
1565
1565
|
* @param resource_path path to a resource that contains the GLSL sourcecode for the shader
|
|
1566
1566
|
* @returns A new `GskGLShader`
|
|
1567
1567
|
*/
|
|
1568
|
-
static new_from_resource(resource_path: string
|
|
1568
|
+
static new_from_resource(resource_path: string): GLShader
|
|
1569
1569
|
_init(config?: GLShader.ConstructorProperties): void
|
|
1570
1570
|
}
|
|
1571
1571
|
|
|
@@ -3520,7 +3520,7 @@ export class Transform {
|
|
|
3520
3520
|
* @param string the string to parse
|
|
3521
3521
|
* @returns %TRUE if @string described a valid transform.
|
|
3522
3522
|
*/
|
|
3523
|
-
static parse(string: string
|
|
3523
|
+
static parse(string: string): [ /* returnType */ boolean, /* out_transform */ Transform ]
|
|
3524
3524
|
}
|
|
3525
3525
|
|
|
3526
3526
|
/**
|
package/gsk-4.0.d.ts
CHANGED
|
@@ -410,7 +410,7 @@ function serialization_error_quark(): GLib.Quark
|
|
|
410
410
|
* @param string the string to parse
|
|
411
411
|
* @returns %TRUE if @string described a valid transform.
|
|
412
412
|
*/
|
|
413
|
-
function transform_parse(string: string
|
|
413
|
+
function transform_parse(string: string): [ /* returnType */ boolean, /* out_transform */ Transform ]
|
|
414
414
|
/**
|
|
415
415
|
* Retrieves the `GskRenderNode` stored inside the given `value`, and acquires
|
|
416
416
|
* a reference to it.
|
|
@@ -1153,7 +1153,7 @@ interface DebugNode {
|
|
|
1153
1153
|
* Gets the debug message that was set on this node
|
|
1154
1154
|
* @returns The debug message
|
|
1155
1155
|
*/
|
|
1156
|
-
get_message(): string
|
|
1156
|
+
get_message(): string
|
|
1157
1157
|
}
|
|
1158
1158
|
|
|
1159
1159
|
/**
|
|
@@ -1301,7 +1301,7 @@ interface GLShader {
|
|
|
1301
1301
|
* @param name uniform name
|
|
1302
1302
|
* @returns The index of the uniform, or -1
|
|
1303
1303
|
*/
|
|
1304
|
-
find_uniform_by_name(name: string
|
|
1304
|
+
find_uniform_by_name(name: string): number
|
|
1305
1305
|
/**
|
|
1306
1306
|
* Gets the value of the uniform `idx` in the `args` block.
|
|
1307
1307
|
*
|
|
@@ -1400,7 +1400,7 @@ interface GLShader {
|
|
|
1400
1400
|
* @param idx index of the uniform
|
|
1401
1401
|
* @returns The name of the declared uniform
|
|
1402
1402
|
*/
|
|
1403
|
-
get_uniform_name(idx: number): string
|
|
1403
|
+
get_uniform_name(idx: number): string
|
|
1404
1404
|
/**
|
|
1405
1405
|
* Get the offset into the data block where data for this uniforms is stored.
|
|
1406
1406
|
* @param idx index of the uniform
|
|
@@ -1567,7 +1567,7 @@ class GLShader extends GObject.Object {
|
|
|
1567
1567
|
* @param resource_path path to a resource that contains the GLSL sourcecode for the shader
|
|
1568
1568
|
* @returns A new `GskGLShader`
|
|
1569
1569
|
*/
|
|
1570
|
-
static new_from_resource(resource_path: string
|
|
1570
|
+
static new_from_resource(resource_path: string): GLShader
|
|
1571
1571
|
_init(config?: GLShader.ConstructorProperties): void
|
|
1572
1572
|
}
|
|
1573
1573
|
|
|
@@ -3522,7 +3522,7 @@ class Transform {
|
|
|
3522
3522
|
* @param string the string to parse
|
|
3523
3523
|
* @returns %TRUE if @string described a valid transform.
|
|
3524
3524
|
*/
|
|
3525
|
-
static parse(string: string
|
|
3525
|
+
static parse(string: string): [ /* returnType */ boolean, /* out_transform */ Transform ]
|
|
3526
3526
|
}
|
|
3527
3527
|
|
|
3528
3528
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/gsk-4.0",
|
|
3
|
-
"version": "4.0.0-3.2.
|
|
3
|
+
"version": "4.0.0-3.2.7",
|
|
4
4
|
"description": "GJS TypeScript type definitions for Gsk-4.0, generated from library version 4.0.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "gsk-4.0.js",
|
|
@@ -25,19 +25,19 @@
|
|
|
25
25
|
"test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit gsk-4.0.d.cts"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@girs/cairo-1.0": "^1.0.0-3.2.
|
|
29
|
-
"@girs/freetype2-2.0": "^2.0.0-3.2.
|
|
30
|
-
"@girs/gdk-4.0": "^4.0.0-3.2.
|
|
31
|
-
"@girs/gdkpixbuf-2.0": "^2.0.0-3.2.
|
|
32
|
-
"@girs/gio-2.0": "^2.78.0-3.2.
|
|
33
|
-
"@girs/gjs": "^3.2.
|
|
34
|
-
"@girs/glib-2.0": "^2.78.0-3.2.
|
|
35
|
-
"@girs/gmodule-2.0": "^2.0.0-3.2.
|
|
36
|
-
"@girs/gobject-2.0": "^2.78.0-3.2.
|
|
37
|
-
"@girs/graphene-1.0": "^1.0.0-3.2.
|
|
38
|
-
"@girs/harfbuzz-0.0": "^8.2.1-3.2.
|
|
39
|
-
"@girs/pango-1.0": "^1.51.0-3.2.
|
|
40
|
-
"@girs/pangocairo-1.0": "^1.0.0-3.2.
|
|
28
|
+
"@girs/cairo-1.0": "^1.0.0-3.2.7",
|
|
29
|
+
"@girs/freetype2-2.0": "^2.0.0-3.2.7",
|
|
30
|
+
"@girs/gdk-4.0": "^4.0.0-3.2.7",
|
|
31
|
+
"@girs/gdkpixbuf-2.0": "^2.0.0-3.2.7",
|
|
32
|
+
"@girs/gio-2.0": "^2.78.0-3.2.7",
|
|
33
|
+
"@girs/gjs": "^3.2.7",
|
|
34
|
+
"@girs/glib-2.0": "^2.78.0-3.2.7",
|
|
35
|
+
"@girs/gmodule-2.0": "^2.0.0-3.2.7",
|
|
36
|
+
"@girs/gobject-2.0": "^2.78.0-3.2.7",
|
|
37
|
+
"@girs/graphene-1.0": "^1.0.0-3.2.7",
|
|
38
|
+
"@girs/harfbuzz-0.0": "^8.2.1-3.2.7",
|
|
39
|
+
"@girs/pango-1.0": "^1.51.0-3.2.7",
|
|
40
|
+
"@girs/pangocairo-1.0": "^1.0.0-3.2.7"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"typescript": "*"
|