@types/gorilla-engine 1.1.2 → 1.1.4
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/LICENSE +0 -0
- gorilla-engine/README.md +1 -1
- gorilla-engine/components/AmpEnv.d.ts +1 -1
- gorilla-engine/components/BarStepEditor.d.ts +0 -0
- gorilla-engine/components/ComboBox.d.ts +2 -2
- gorilla-engine/components/DragContainer.d.ts +0 -0
- gorilla-engine/components/DragTarget.d.ts +0 -0
- gorilla-engine/components/DropZone.d.ts +0 -0
- gorilla-engine/components/Knob.d.ts +14 -1
- gorilla-engine/components/Label.d.ts +3 -1
- gorilla-engine/components/LevelMeter.d.ts +0 -0
- gorilla-engine/components/ListBox.d.ts +1 -1
- gorilla-engine/components/LottieAnimation.d.ts +1 -0
- gorilla-engine/components/MidiKeyboard.d.ts +0 -0
- gorilla-engine/components/Pad.d.ts +1 -1
- gorilla-engine/components/Rubberband.d.ts +9 -0
- gorilla-engine/components/ScrollView.d.ts +2 -0
- gorilla-engine/components/SliceEditor.d.ts +103 -96
- gorilla-engine/components/Slider.d.ts +1 -1
- gorilla-engine/components/StepEditor.d.ts +3 -1
- gorilla-engine/components/TagBrowser.d.ts +17 -0
- gorilla-engine/components/TagEditor.d.ts +15 -0
- gorilla-engine/components/TextBox.d.ts +8 -3
- gorilla-engine/components/Toggle.d.ts +1 -1
- gorilla-engine/components/Trigger.d.ts +2 -1
- gorilla-engine/components/Waveform.d.ts +54 -53
- gorilla-engine/components/Window.d.ts +0 -0
- gorilla-engine/components/XYPad.d.ts +19 -0
- gorilla-engine/index.d.ts +305 -252
- gorilla-engine/interfaces/Background.d.ts +0 -0
- gorilla-engine/interfaces/Bounds.d.ts +0 -0
- gorilla-engine/interfaces/Clickable.d.ts +19 -19
- gorilla-engine/interfaces/Common.d.ts +0 -0
- gorilla-engine/interfaces/Component.d.ts +0 -0
- gorilla-engine/interfaces/Font.d.ts +11 -11
- gorilla-engine/interfaces/Highlight.d.ts +12 -0
- gorilla-engine/interfaces/Keyable.d.ts +6 -0
- gorilla-engine/interfaces/KeyboardFocus.d.ts +2 -0
- gorilla-engine/interfaces/MIDILearn.d.ts +7 -0
- gorilla-engine/interfaces/Margin.d.ts +11 -0
- gorilla-engine/interfaces/Scrollable.d.ts +0 -0
- gorilla-engine/interfaces/Skinnable.d.ts +0 -0
- gorilla-engine/interfaces/Tag.d.ts +10 -0
- gorilla-engine/package.json +3 -3
gorilla-engine/LICENSE
CHANGED
|
File without changes
|
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: Tue, 26 Sep 2023 18:06:54 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `GorillaEngine`
|
|
14
14
|
|
|
File without changes
|
|
@@ -12,13 +12,13 @@ declare namespace GorillaEngine.UI {
|
|
|
12
12
|
itemSelectedBackgroundColor: string;
|
|
13
13
|
itemHighlightedTextColor: string;
|
|
14
14
|
itemHighlightedBackgroundColor: string;
|
|
15
|
-
checkmarkFloat:
|
|
15
|
+
checkmarkFloat: "left" | "right";
|
|
16
16
|
cornerRadius: number;
|
|
17
17
|
padding: ComboBoxPadding | number;
|
|
18
18
|
checkmarkPadding: ComboBoxPadding;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
interface ComboBoxProps extends Common, Bounds, Background, Clickable, Font {
|
|
21
|
+
interface ComboBoxProps extends Common, Bounds, Background, Clickable, Font, Highlight {
|
|
22
22
|
value: number;
|
|
23
23
|
/**
|
|
24
24
|
* List of options
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,10 +1,23 @@
|
|
|
1
1
|
declare namespace GorillaEngine.UI {
|
|
2
|
-
interface KnobProps extends Common, Bounds, Clickable, Background, Skinnable {
|
|
2
|
+
interface KnobProps extends Common, Bounds, Clickable, Background, Skinnable, MIDILearn, Highlight {
|
|
3
3
|
text: string;
|
|
4
4
|
min: number;
|
|
5
5
|
max: number;
|
|
6
6
|
value: number;
|
|
7
7
|
stepSize: number;
|
|
8
|
+
inverted: boolean;
|
|
9
|
+
scrollWheelEnabled: boolean;
|
|
10
|
+
thumbImage: string;
|
|
11
|
+
image: string;
|
|
12
|
+
snapsToMousePosition: boolean;
|
|
13
|
+
minRotation: number;
|
|
14
|
+
maxRotation: number;
|
|
15
|
+
sliderBounds: {
|
|
16
|
+
x: number;
|
|
17
|
+
y: number;
|
|
18
|
+
width: number;
|
|
19
|
+
height: number;
|
|
20
|
+
}
|
|
8
21
|
}
|
|
9
22
|
|
|
10
23
|
interface Knob extends KnobProps {}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
declare namespace GorillaEngine.UI {
|
|
2
|
-
interface LabelProps extends Common, Bounds, Background, Font, Clickable {
|
|
2
|
+
interface LabelProps extends Common, Bounds, Background, Font, Clickable, Margin, Keyable {
|
|
3
|
+
value: any;
|
|
3
4
|
text: string | number;
|
|
4
5
|
format: string;
|
|
5
6
|
multiLine: boolean;
|
|
7
|
+
stretchText: boolean;
|
|
6
8
|
}
|
|
7
9
|
|
|
8
10
|
/**
|
|
File without changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare namespace GorillaEngine.UI {
|
|
2
|
-
interface ListBoxProps extends Common, Bounds, Font, Clickable, Background, Scrollable {
|
|
2
|
+
interface ListBoxProps extends Common, Bounds, Font, Clickable, Background, Scrollable, Highlight, MIDILearn {
|
|
3
3
|
items?: string[];
|
|
4
4
|
horizontalMargin?: number;
|
|
5
5
|
cellColor?: string;
|
|
@@ -10,6 +10,7 @@ declare namespace GorillaEngine.UI {
|
|
|
10
10
|
stop(): void;
|
|
11
11
|
pause(): void;
|
|
12
12
|
setFrame(frame: number): void;
|
|
13
|
+
setTargetFrame(frame: number): void;
|
|
13
14
|
setFrameFromLinearTransform(value: number, min: number, max: number): void;
|
|
14
15
|
setProperties(
|
|
15
16
|
selector: string,
|
|
File without changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare namespace GorillaEngine.UI {
|
|
2
|
-
interface PadProps extends Common, Bounds, Background, KeyboardFocus {
|
|
2
|
+
interface PadProps extends Common, Bounds, Background, KeyboardFocus, Clickable, Skinnable, Font {
|
|
3
3
|
midiNote: number;
|
|
4
4
|
velocity: number;
|
|
5
5
|
padState: boolean;
|
|
@@ -1,104 +1,111 @@
|
|
|
1
1
|
declare namespace GorillaEngine.UI {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
height: number;
|
|
6
|
-
color: string;
|
|
7
|
-
image: string;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
interface Modulation {
|
|
11
|
-
legacyCompatibility?: boolean;
|
|
12
|
-
color?: string;
|
|
13
|
-
visible?: boolean;
|
|
14
|
-
active?: boolean;
|
|
15
|
-
resolution?: any;
|
|
16
|
-
tooltip: {
|
|
17
|
-
enabled?: boolean;
|
|
18
|
-
text?: string;
|
|
19
|
-
font?: {
|
|
20
|
-
size?: number;
|
|
21
|
-
color: string;
|
|
22
|
-
}
|
|
23
|
-
color: string;
|
|
24
|
-
border: {
|
|
2
|
+
interface SliceStyle {
|
|
3
|
+
y: number;
|
|
4
|
+
xOffset: number;
|
|
25
5
|
width: number;
|
|
6
|
+
height: number;
|
|
26
7
|
color: string;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
};
|
|
30
|
-
centerLine?: {
|
|
31
|
-
width?: number;
|
|
32
|
-
backgroundColor?: string;
|
|
33
|
-
visible?: boolean;
|
|
34
|
-
};
|
|
35
|
-
values: any;
|
|
36
|
-
centerValue: {
|
|
37
|
-
value?: number;
|
|
38
|
-
backgroundColor?: string;
|
|
39
|
-
visible?: boolean;
|
|
40
|
-
};
|
|
41
|
-
indication?: {
|
|
42
|
-
enabled?: boolean;
|
|
43
|
-
backgroundColor?: string;
|
|
44
|
-
};
|
|
45
|
-
setValues: (values: any) => void;
|
|
46
|
-
}
|
|
47
|
-
interface GridMeasure {
|
|
48
|
-
fractionOfBar: number;
|
|
49
|
-
showLabels?: boolean;
|
|
50
|
-
tickHeight: number;
|
|
51
|
-
font?: { size: number };
|
|
52
|
-
}
|
|
8
|
+
image: string;
|
|
9
|
+
}
|
|
53
10
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
11
|
+
interface Modulation {
|
|
12
|
+
legacyCompatibility?: boolean;
|
|
13
|
+
color?: string;
|
|
14
|
+
visible?: boolean;
|
|
15
|
+
active?: boolean;
|
|
16
|
+
resolution?: any;
|
|
17
|
+
tooltip: {
|
|
18
|
+
enabled?: boolean;
|
|
19
|
+
text?: string;
|
|
20
|
+
font?: {
|
|
21
|
+
size?: number;
|
|
22
|
+
color: string;
|
|
23
|
+
};
|
|
24
|
+
color: string;
|
|
25
|
+
border: {
|
|
26
|
+
width: number;
|
|
27
|
+
color: string;
|
|
28
|
+
radius: number;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
centerLine?: {
|
|
32
|
+
width?: number;
|
|
33
|
+
backgroundColor?: string;
|
|
34
|
+
visible?: boolean;
|
|
35
|
+
};
|
|
36
|
+
values: any;
|
|
37
|
+
centerValue: {
|
|
38
|
+
value?: number;
|
|
39
|
+
backgroundColor?: string;
|
|
40
|
+
visible?: boolean;
|
|
41
|
+
};
|
|
42
|
+
indication?: {
|
|
43
|
+
enabled?: boolean;
|
|
44
|
+
backgroundColor?: string;
|
|
45
|
+
};
|
|
46
|
+
setValues: (values: any) => void;
|
|
47
|
+
}
|
|
48
|
+
interface GridMeasure {
|
|
49
|
+
fractionOfBar: number;
|
|
70
50
|
enabled: boolean;
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
51
|
+
showLabels?: boolean;
|
|
52
|
+
tickWidth: boolean;
|
|
53
|
+
tickHeight: number;
|
|
54
|
+
tickColor: string;
|
|
55
|
+
tickImage: string;
|
|
56
|
+
font?: {name: string; size: number; kerning: number; color: string };
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
interface SliceEditorProps extends Common, Bounds, Background, Clickable {
|
|
60
|
+
slices: any;
|
|
61
|
+
audioLengthInSamples: number;
|
|
62
|
+
audioLengthInBeats: number;
|
|
63
|
+
minSliceSpacing: number;
|
|
64
|
+
minMarkerSpacing: number;
|
|
65
|
+
canChangeSlices: boolean;
|
|
66
|
+
canAddSlices: boolean;
|
|
67
|
+
canRemoveSlices: boolean;
|
|
68
|
+
snapSlicesToGrid: boolean;
|
|
69
|
+
zoom: { start: number; end: number; dragToZoomFactor: number; dragToZoomEnabled: boolean };
|
|
70
|
+
addModulation(modulation: Partial<Modulation>): Modulation;
|
|
71
|
+
grid: Partial<{
|
|
72
|
+
position: string;
|
|
73
|
+
height: number;
|
|
74
|
+
minTickSpacing: number;
|
|
75
|
+
minLabelSpacing: number;
|
|
76
|
+
enabled: boolean;
|
|
77
|
+
backgroundColor: string;
|
|
78
|
+
backgroundImage: string;
|
|
79
|
+
measures: GridMeasure[];
|
|
80
|
+
addMeasure(measure: GridMeasure): void;
|
|
81
|
+
}>;
|
|
82
|
+
sliceStyles: Partial<{
|
|
83
|
+
normal: Partial<SliceStyle>;
|
|
84
|
+
hover: Partial<SliceStyle>;
|
|
85
|
+
selected: Partial<SliceStyle>;
|
|
86
|
+
}>;
|
|
87
|
+
selectionAreaStyle: Partial<{
|
|
88
|
+
backgroundColor: string;
|
|
89
|
+
enabled: boolean;
|
|
90
|
+
border: Partial<{
|
|
91
|
+
width: number;
|
|
92
|
+
radius: number;
|
|
93
|
+
color: string;
|
|
94
|
+
}>;
|
|
95
|
+
}>;
|
|
96
|
+
addMarker(marker: any): void;
|
|
97
|
+
addSlice(slice: any): void;
|
|
98
|
+
removeSlice(slice: any): void;
|
|
99
|
+
getSlicesForZoneModule(): any[];
|
|
100
|
+
clearSlices(): void;
|
|
101
|
+
setZoom: (start: number, end: number) => void;
|
|
102
|
+
mappedSampleChanged(): void;
|
|
103
|
+
modulations: Modulation[];
|
|
104
|
+
}
|
|
98
105
|
|
|
99
|
-
|
|
106
|
+
interface SliceEditor extends SliceEditorProps {}
|
|
100
107
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
108
|
+
class SliceEditor extends Component {
|
|
109
|
+
constructor(options: Partial<SliceEditorProps>);
|
|
110
|
+
}
|
|
104
111
|
}
|
|
@@ -13,7 +13,9 @@ declare namespace GorillaEngine.UI {
|
|
|
13
13
|
width: number;
|
|
14
14
|
height: number;
|
|
15
15
|
cornerRadius: number;
|
|
16
|
-
|
|
16
|
+
borderSizeX: number;
|
|
17
|
+
borderSizeY: number;
|
|
18
|
+
activeColor: string;
|
|
17
19
|
markDefault: boolean;
|
|
18
20
|
incrementHeight: number;
|
|
19
21
|
backgroundColor: string;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare namespace GorillaEngine.UI {
|
|
2
|
+
interface TagBrowserProps extends Common, Bounds, Background, Font {
|
|
3
|
+
value: any;
|
|
4
|
+
tags: Tag[];
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
class TagBrowser extends Component {
|
|
8
|
+
constructor(options: Partial<TagBrowserProps>);
|
|
9
|
+
}
|
|
10
|
+
interface TagBrowser extends TagBrowserProps {}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare namespace GorillaEngine.UI {
|
|
2
|
+
interface TagEditorProps extends Common, Bounds, Background, Font {
|
|
3
|
+
value: any;
|
|
4
|
+
tags: Tag[];
|
|
5
|
+
editable: boolean;
|
|
6
|
+
action: string;
|
|
7
|
+
removeAction: string;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
class TagEditor extends Component {
|
|
11
|
+
constructor(options: Partial<TagEditorProps>);
|
|
12
|
+
}
|
|
13
|
+
interface TagEditor extends TagEditorProps {}
|
|
14
|
+
}
|
|
15
|
+
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare namespace GorillaEngine.UI {
|
|
2
|
-
interface TextBoxProps extends Font, Clickable, Bounds, Background {
|
|
2
|
+
interface TextBoxProps extends Font, Clickable, Bounds, Background, Margin, Keyable {
|
|
3
3
|
text: string;
|
|
4
4
|
palceholder: string;
|
|
5
5
|
unit: string;
|
|
@@ -11,13 +11,18 @@ declare namespace GorillaEngine.UI {
|
|
|
11
11
|
passwordCharacter: string;
|
|
12
12
|
multiLine: boolean;
|
|
13
13
|
readOnly: boolean;
|
|
14
|
-
acceptedDataType:
|
|
14
|
+
acceptedDataType: "integer" | "int" | "float" | "string";
|
|
15
15
|
minValue: number;
|
|
16
16
|
maxValue: number;
|
|
17
|
+
highlightStart: number;
|
|
18
|
+
highlightEnd: number;
|
|
19
|
+
keyDownAction: string;
|
|
20
|
+
textChangedAction: string;
|
|
21
|
+
focusLostUpdate: boolean;
|
|
17
22
|
}
|
|
18
23
|
|
|
19
24
|
interface TextBox extends TextBoxProps {
|
|
20
|
-
|
|
25
|
+
grabKeyboardFocus(): void;
|
|
21
26
|
}
|
|
22
27
|
|
|
23
28
|
class TextBox extends Component {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare namespace GorillaEngine.UI {
|
|
2
|
-
interface ToggleProps extends Common, Bounds, Font, Clickable, Background {
|
|
2
|
+
interface ToggleProps extends Common, Bounds, Font, Clickable, Background, Highlight, MIDILearn, Margin {
|
|
3
3
|
text: string;
|
|
4
4
|
onColor: string;
|
|
5
5
|
offColor: string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
declare namespace GorillaEngine.UI {
|
|
2
|
-
interface TriggerProps extends Common, Bounds, Font, Clickable, Background, KeyboardFocus {
|
|
2
|
+
interface TriggerProps extends Common, Bounds, Font, Clickable, Background, KeyboardFocus, Keyable {
|
|
3
3
|
text: string;
|
|
4
|
+
isDumb: boolean;
|
|
4
5
|
images: {
|
|
5
6
|
normal?: string;
|
|
6
7
|
hover?: string;
|
|
@@ -1,58 +1,59 @@
|
|
|
1
1
|
declare namespace GorillaEngine.UI {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
2
|
+
interface WaveformDragZone {
|
|
3
|
+
x: number;
|
|
4
|
+
y: number;
|
|
5
|
+
x2: number;
|
|
6
|
+
y2: number;
|
|
7
|
+
leftHandleImage: string;
|
|
8
|
+
rightHandleImage: string;
|
|
9
|
+
backgroundColor: string;
|
|
10
|
+
overlayColor: string;
|
|
11
|
+
leftHandleWidth: number;
|
|
12
|
+
leftHandleHeight: number;
|
|
13
|
+
rightHandleWidth: number;
|
|
14
|
+
rightHandleHeight: number;
|
|
15
|
+
canResize: boolean;
|
|
16
|
+
canPan: boolean;
|
|
17
|
+
enabled: boolean;
|
|
18
|
+
bindings: any;
|
|
19
|
+
}
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
21
|
+
interface WaveformMarker {
|
|
22
|
+
enabled: boolean;
|
|
23
|
+
x: number;
|
|
24
|
+
y: number;
|
|
25
|
+
x2: number;
|
|
26
|
+
y2: number;
|
|
27
|
+
leftHandleImage: string;
|
|
28
|
+
rightHandleImage: string;
|
|
29
|
+
backgroundColor: string;
|
|
30
|
+
leftHandleWidth: number;
|
|
31
|
+
leftHandleHeight: number;
|
|
32
|
+
rightHandleWidth: number;
|
|
33
|
+
rightHandleHeight: number;
|
|
34
|
+
canResize: boolean;
|
|
35
|
+
}
|
|
36
36
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
37
|
+
interface WaveformProps extends Common, Bounds, Background, Font, Clickable, Margin {
|
|
38
|
+
waveformColor: string;
|
|
39
|
+
gradientCenterColor: string;
|
|
40
|
+
gradientEndColor: string;
|
|
41
|
+
horizontalAxisColor: string;
|
|
42
|
+
waveformUnavailableText: string;
|
|
43
|
+
waveWidth: number;
|
|
44
|
+
initialXOffset: number;
|
|
45
|
+
waveHorizontalSapcing: number;
|
|
46
|
+
verticalPadding: number;
|
|
47
|
+
fitHeight: boolean;
|
|
48
|
+
paintCenterLine: boolean;
|
|
49
|
+
value: number;
|
|
50
|
+
drawUsingLegacy: boolean;
|
|
51
|
+
dragzone: Partial<WaveformDragZone>;
|
|
52
|
+
markers: Partial<WaveformMarker>;
|
|
53
|
+
}
|
|
53
54
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
interface Waveform extends WaveformProps {}
|
|
56
|
+
class Waveform extends Component {
|
|
57
|
+
constructor(options: Partial<WaveformProps>);
|
|
58
|
+
}
|
|
58
59
|
}
|
|
File without changes
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
declare namespace GorillaEngine.UI {
|
|
2
|
+
interface XYPadProps extends Common, Bounds, Clickable, Background {
|
|
3
|
+
valueX: number;
|
|
4
|
+
valueY: number;
|
|
5
|
+
minX: number;
|
|
6
|
+
maxX: number;
|
|
7
|
+
minY: number;
|
|
8
|
+
maxY: number;
|
|
9
|
+
stepSizeX: number;
|
|
10
|
+
stepSizeY: number;
|
|
11
|
+
snapsToMousePosition: boolean;
|
|
12
|
+
thumbImage: string;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
interface XYPad extends XYPadProps {}
|
|
16
|
+
class XYPad extends Component {
|
|
17
|
+
constructor(options: Partial<XYPadProps>);
|
|
18
|
+
}
|
|
19
|
+
}
|