babylonjs-gui
Advanced tools
Comparing version 3.2.0-alpha9 to 3.2.0-alphaA
@@ -35,2 +35,3 @@ | ||
private _idealHeight; | ||
private _useSmallestIdeal; | ||
private _renderAtIdealSize; | ||
@@ -44,2 +45,3 @@ private _focusedControl; | ||
idealHeight: number; | ||
useSmallestIdeal: boolean; | ||
renderAtIdealSize: boolean; | ||
@@ -232,2 +234,7 @@ readonly layer: Nullable<Layer>; | ||
/** | ||
* An event triggered when a control is clicked on | ||
* @type {BABYLON.Observable} | ||
*/ | ||
onPointerClickObservable: Observable<Vector2WithInfo>; | ||
/** | ||
* An event triggered when pointer enters the control | ||
@@ -317,3 +324,3 @@ * @type {BABYLON.Observable} | ||
_onPointerDown(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number): boolean; | ||
_onPointerUp(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number): void; | ||
_onPointerUp(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean): void; | ||
forcePointerUp(pointerId?: Nullable<number>): void; | ||
@@ -503,3 +510,3 @@ _processObservables(type: number, x: number, y: number, pointerId: number, buttonIndex: number): boolean; | ||
_onPointerMove(target: Control, coordinates: Vector2): void; | ||
_onPointerUp(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number): void; | ||
_onPointerUp(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean): void; | ||
} | ||
@@ -718,3 +725,3 @@ } | ||
_onPointerDown(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number): boolean; | ||
_onPointerUp(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number): void; | ||
_onPointerUp(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean): void; | ||
static CreateImageButton(name: string, text: string, imageUrl: string): Button; | ||
@@ -762,3 +769,3 @@ static CreateImageOnlyButton(name: string, imageUrl: string): Button; | ||
_onPointerMove(target: Control, coordinates: Vector2): void; | ||
_onPointerUp(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number): void; | ||
_onPointerUp(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean): void; | ||
} | ||
@@ -811,3 +818,3 @@ } | ||
_onPointerDown(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number): boolean; | ||
_onPointerUp(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number): void; | ||
_onPointerUp(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean): void; | ||
dispose(): void; | ||
@@ -814,0 +821,0 @@ } |
@@ -5,3 +5,3 @@ /// <reference types="babylonjs"/> | ||
declare module 'babylonjs-gui' { | ||
export = BABYLON.[object Object]; | ||
export = BABYLON.GUI; | ||
} | ||
@@ -42,2 +42,3 @@ | ||
private _idealHeight; | ||
private _useSmallestIdeal; | ||
private _renderAtIdealSize; | ||
@@ -51,2 +52,3 @@ private _focusedControl; | ||
idealHeight: number; | ||
useSmallestIdeal: boolean; | ||
renderAtIdealSize: boolean; | ||
@@ -239,2 +241,7 @@ readonly layer: Nullable<Layer>; | ||
/** | ||
* An event triggered when a control is clicked on | ||
* @type {BABYLON.Observable} | ||
*/ | ||
onPointerClickObservable: Observable<Vector2WithInfo>; | ||
/** | ||
* An event triggered when pointer enters the control | ||
@@ -324,3 +331,3 @@ * @type {BABYLON.Observable} | ||
_onPointerDown(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number): boolean; | ||
_onPointerUp(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number): void; | ||
_onPointerUp(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean): void; | ||
forcePointerUp(pointerId?: Nullable<number>): void; | ||
@@ -510,3 +517,3 @@ _processObservables(type: number, x: number, y: number, pointerId: number, buttonIndex: number): boolean; | ||
_onPointerMove(target: Control, coordinates: Vector2): void; | ||
_onPointerUp(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number): void; | ||
_onPointerUp(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean): void; | ||
} | ||
@@ -725,3 +732,3 @@ } | ||
_onPointerDown(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number): boolean; | ||
_onPointerUp(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number): void; | ||
_onPointerUp(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean): void; | ||
static CreateImageButton(name: string, text: string, imageUrl: string): Button; | ||
@@ -769,3 +776,3 @@ static CreateImageOnlyButton(name: string, imageUrl: string): Button; | ||
_onPointerMove(target: Control, coordinates: Vector2): void; | ||
_onPointerUp(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number): void; | ||
_onPointerUp(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean): void; | ||
} | ||
@@ -818,3 +825,3 @@ } | ||
_onPointerDown(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number): boolean; | ||
_onPointerUp(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number): void; | ||
_onPointerUp(target: Control, coordinates: Vector2, pointerId: number, buttonIndex: number, notifyClick: boolean): void; | ||
dispose(): void; | ||
@@ -821,0 +828,0 @@ } |
@@ -7,3 +7,3 @@ { | ||
"description": "The Babylon.js GUI library is an extension you can use to generate interactive user interface. It is build on top of the DynamicTexture.", | ||
"version": "3.2.0-alpha9", | ||
"version": "3.2.0-alphaA", | ||
"repository": { | ||
@@ -10,0 +10,0 @@ "type": "git", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
393464
7012