@types/gorilla-engine 1.1.4 → 1.1.6
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.
gorilla-engine/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for Gorilla Engine (https://gorilla-engin
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gorilla-engine.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Wed, 27 Sep 2023 20:35:06 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `GorillaEngine`
|
|
14
14
|
|
|
@@ -7,17 +7,11 @@ declare namespace GorillaEngine.UI {
|
|
|
7
7
|
stepSize: number;
|
|
8
8
|
inverted: boolean;
|
|
9
9
|
scrollWheelEnabled: boolean;
|
|
10
|
-
thumbImage: string;
|
|
11
10
|
image: string;
|
|
12
11
|
snapsToMousePosition: boolean;
|
|
13
12
|
minRotation: number;
|
|
14
13
|
maxRotation: number;
|
|
15
|
-
|
|
16
|
-
x: number;
|
|
17
|
-
y: number;
|
|
18
|
-
width: number;
|
|
19
|
-
height: number;
|
|
20
|
-
}
|
|
14
|
+
direction: 'horizontal' | 'vertical';
|
|
21
15
|
}
|
|
22
16
|
|
|
23
17
|
interface Knob extends KnobProps {}
|
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
declare namespace GorillaEngine.UI {
|
|
2
|
-
interface SliderProps extends
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
filmstrip: {
|
|
10
|
-
path: string;
|
|
11
|
-
count: number;
|
|
12
|
-
direction: string;
|
|
2
|
+
interface SliderProps extends KnobProps {
|
|
3
|
+
thumbImage: string;
|
|
4
|
+
sliderBounds: {
|
|
5
|
+
x: number;
|
|
6
|
+
y: number;
|
|
7
|
+
width: number;
|
|
8
|
+
height: number;
|
|
13
9
|
};
|
|
14
10
|
}
|
|
15
11
|
|
gorilla-engine/index.d.ts
CHANGED
|
@@ -329,7 +329,7 @@ declare namespace GorillaEngine {
|
|
|
329
329
|
function showNativeMessageBox(options: {
|
|
330
330
|
title: string;
|
|
331
331
|
message: string;
|
|
332
|
-
iconType:
|
|
332
|
+
iconType: "info" | "question" | "warning";
|
|
333
333
|
}): void;
|
|
334
334
|
function calculateTextWidth(text: string, font: string, fontSize: number, fontKerning: number): number;
|
|
335
335
|
function checkLicense(): boolean;
|
gorilla-engine/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/gorilla-engine",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.6",
|
|
4
4
|
"description": "TypeScript definitions for Gorilla Engine",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gorilla-engine",
|
|
6
6
|
"license": "MIT",
|
|
@@ -45,6 +45,6 @@
|
|
|
45
45
|
},
|
|
46
46
|
"scripts": {},
|
|
47
47
|
"dependencies": {},
|
|
48
|
-
"typesPublisherContentHash": "
|
|
48
|
+
"typesPublisherContentHash": "818f5fdab90906481ad4b30b2ce35b919b8aec4fd9e8e57ac2c7cf6ea2167ff3",
|
|
49
49
|
"typeScriptVersion": "4.5"
|
|
50
50
|
}
|