I am not referring to haxeui-core, but the haxeui library / package.
In order to use StyleManager, I tried using the haxeui library in my project.
-lib haxeui
import haxe.ui.toolkit.controls.Button;
import haxe.ui.toolkit.core.Root;
import haxe.ui.toolkit.core.Toolkit;
import haxe.ui.toolkit.style.Style;
import haxe.ui.toolkit.style.StyleManager;
import haxe.ui.toolkit.themes.GradientTheme;
When I ran the command haxe html5.hxml
I got a heap of errors, especially in openfl.
C:/Users/mypc/haxelib/openfl/9,2,0/src/openfl/utils/_internal/UInt16Array.hx:6:characters 23-41 : Type not found : js.lib.UInt16Array
C:/Users/mypc/haxelib/haxeui/1,8,21/haxe/ui/toolkit/data/DataManager.hx:8: characters 29-41 : instance: Custom property accessor is no longer supported, please useget
C:/Users/mypc/haxelib/haxeui/1,8,21/haxe/ui/toolkit/core/PopupManager.hx:25: characters 29-41 : instance: Custom property accessor is no longer supported, please useget
C:/Users/mypc/haxelib/haxeui/1,8,21/haxe/ui/toolkit/core/ToolTipManager.hx:82: characters 29-41 : instance: Custom property accessor is no longer supported, please useget
C:/Users/mypc/haxelib/openfl/9,2,0/src/openfl/display/_internal/Context3DBuffer.hx:19: characters 35-46 : Type not found : UInt16Array src/Main.hx:5: lines 5-14 : ⊠Defined in this class
C:/Users/mypc/haxelib/openfl/9,2,0/src/openfl/media/Video.hx:303: characters 24-42 : Void cannot be constructed
C:/Users/mypc/haxelib/openfl/9,2,0/src/openfl/media/Video.hx:304: characters 4-21 : Array access is not allowed on openfl.utils._internal.UInt16Array
C:/Users/mypc/haxelib/openfl/9,2,0/src/openfl/media/Video.hx:305: characters 4-21 : Array access is not allowed on openfl.utils._internal.UInt16Array
C:/Users/mypc/haxelib/openfl/9,2,0/src/openfl/media/Video.hx:306: characters 4-21 : Array access is not allowed on openfl.utils._internal.UInt16Array
C:/Users/mypc/haxelib/openfl/9,2,0/src/openfl/media/Video.hx:307: characters 4-21 : Array access is not allowed on openfl.utils._internal.UInt16Array
C:/Users/mypc/haxelib/openfl/9,2,0/src/openfl/media/Video.hx:308: characters 4-21 : Array access is not allowed on openfl.utils._internal.UInt16Array
C:/Users/mypc/haxelib/openfl/9,2,0/src/openfl/media/Video.hx:309: characters 4-21 : Array access is not allowed on openfl.utils._internal.UInt16Array
C:/Users/mypc/haxelib/openfl/9,2,0/src/openfl/media/Video.hx:313: characters 39-56 : openfl.utils._internal.UInt16Array should be openfl.utils._internal.ArrayBufferView
C:/Users/mypc/haxelib/openfl/9,2,0/src/openfl/media/Video.hx:313: characters 39-56 : ⊠For function argument âdataâ
C:/Users/mypc/haxelib/openfl/9,2,0/src/openfl/text/_internal/ShapeCache.hx:41: characters 7-14 : Unknown identifier : wordKey
C:/Users/mypc/haxelib/openfl/9,2,0/src/openfl/text/_internal/ShapeCache.hx:37: characters 3-56 : Missing return: Array<openfl.text._internal.GlyphPosition>
C:/Users/mypc/haxelib/openfl/9,2,0/src/openfl/display/_internal/Context3DGraphics.hx:130: characters 32-90 : openfl.display._internal.Context3DBuffer does not have a constructor
C:/Users/mypc/haxelib/openfl/9,2,0/src/openfl/display/_internal/Context3DGraphics.hx:134: characters 30-36 : openfl.display._internal.Context3DBuffer has no field resize
C:/Users/mypc/haxelib/openfl/9,2,0/src/openfl/display/_internal/Context3DGraphics.hx:146: characters 52-68 : openfl.display._internal.Context3DBuffer has no field vertexBufferData
C:/Users/mypc/haxelib/openfl/9,2,0/src/openfl/display/_internal/Context3DGraphics.hx:320: characters 26-47 : openfl.display._internal.Context3DBuffer has no field flushVertexBufferData
C:/Users/mypc/haxelib/openfl/9,2,0/src/openfl/display/_internal/Context3DGraphics.hx:334: characters 32-66 : openfl.utils._internal.UInt16Array should be openfl.utils._internal.ArrayBufferView
C:/Users/mypc/haxelib/openfl/9,2,0/src/openfl/display/_internal/Context3DGraphics.hx:334: characters 32-66 : ⊠For function argument âdataâ
C:/Users/mypc/haxelib/openfl/9,2,0/src/openfl/display/_internal/Context3DGraphics.hx:636: characters 114-126 : openfl.display._internal.Context3DBuffer has no field vertexBuffer
C:/Users/mypc/haxelib/openfl/9,2,0/src/openfl/display/_internal/Context3DGraphics.hx:639: characters 33-45 : openfl.display._internal.Context3DBuffer has no field vertexBuffer
C:/Users/mypc/haxelib/openfl/9,2,0/src/openfl/display/_internal/Context3DTilemap.hx:62: characters 68-84 : openfl.display._internal.Context3DBuffer has no field vertexBufferData
C:/Users/mypc/haxelib/openfl/9,2,0/src/openfl/display/_internal/Context3DTilemap.hx:633: characters 23-83 : openfl.display._internal.Context3DBuffer does not have a constructor
C:/Users/mypc/haxelib/openfl/9,2,0/src/openfl/display/_internal/Context3DTilemap.hx:637: characters 21-27 : openfl.display._internal.Context3DBuffer has no field resize
C:/Users/mypc/haxelib/openfl/9,2,0/src/openfl/display/_internal/Context3DTilemap.hx:640: characters 39-55 : openfl.display._internal.Context3DBuffer has no field vertexBufferData
C:/Users/mypc/haxelib/openfl/9,2,0/src/openfl/display/_internal/Context3DTilemap.hx:76: characters 20-41 : openfl.display._internal.Context3DBuffer has no field flushVertexBufferData
C:/Users/mypc/haxelib/openfl/9,2,0/src/openfl/display/_internal/Context3DTilemap.hx:342: characters 40-52 : openfl.display._internal.Context3DBuffer has no field vertexBuffer
C:/Users/mypc/haxelib/openfl/9,2,0/src/openfl/display/_internal/Context3DGraphics.hx:846: characters 21-30 : Variables of type Void are not allowed
Is haxeui outdated, or incompatible with the openfl version I am using?
Iâm using haxeui 1.8.21, and openfl 9.2.0.
I understand HaxeUI is an OpenFL-based UI library.
So, is it the case my project needs to be openfl?
Or is this something I should ask on github?
Also, where can I get the js.lib.UInt16Array
. I found that missing in another project.
Thanks.