Skip to content

Commit

Permalink
feat: Update to PIXI 6.5.8.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayfri committed Oct 29, 2022
1 parent 6be8873 commit 05ae348
Show file tree
Hide file tree
Showing 9 changed files with 1,765 additions and 1,702 deletions.
2 changes: 2 additions & 0 deletions packages/assets/src/main/kotlin/pixi/typings.kt
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ external val isSingleItem: (item: Any?) -> Boolean
external interface LoadAsset<T : Any /* = Any */> {
var src: String
var data: T?
var alias: Array<String>?
var format: String?
}

external val loadBasis: LoaderParser<dynamic /* Texture<Resource> | Array<Texture<Resource>> */, IBaseTextureOptions<Any>>
Expand Down
10 changes: 10 additions & 0 deletions packages/events/src/main/kotlin/pixi/typings.kt
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,19 @@ open external class FederatedEvent<N : UIEvent /* = UIEvent */>(manager: EventBo
@Suppress("RETURN_TYPE_MISMATCH_ON_OVERRIDE", "OVERRIDING_FINAL_MEMBER")
override fun composedPath(): Array<FederatedEventTarget>

@Deprecated("Unimplemented method included for implementing the DOM interface UIEvent. Since Pixi 6.5.4", level = DeprecationLevel.ERROR)
@Suppress("OVERRIDING_FINAL_MEMBER")
override fun initEvent(_type: String, _bubbles: Boolean, _cancelable: Boolean)

@Deprecated("Unimplemented method included for implementing the DOM interface UIEvent. Since Pixi 6.5.4", level = DeprecationLevel.ERROR)
fun initUiEvent(
_typeArg: String,
_bubblesArg: Boolean = definedExternally,
_cancelableArg: Boolean = definedExternally,
_viewArg: WindowProxy? = definedExternally,
_detailArg: Int = definedExternally,
)

@Suppress("OVERRIDING_FINAL_MEMBER")
override fun preventDefault()

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@file:Suppress("unused")

package pixi.typings.compressed_textures

import seskar.js.JsInt
Expand Down Expand Up @@ -47,6 +49,7 @@ external enum class KEYOF_INTERNAL_FORMATS {
COMPRESSED_RGB_ATC_WEBGL,
COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL,
COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL,
COMPRESSED_RGBA_ASTC_4x4_KHR;
}

@JsUnion
Expand Down Expand Up @@ -127,5 +130,8 @@ external enum class INTERNAL_FORMATS {
COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL,

@JsInt(34798)
COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL;
COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL,

@JsInt(37808)
COMPRESSED_RGBA_ASTC_4x4_KHR;
}
Loading

0 comments on commit 05ae348

Please sign in to comment.