StablexUI-Designer: a visual GUI-Builder for StablexUI

Hi. Today was released the StablexUI-Designer (pre-release named v1.0.0:beta-2).
It’s available on github: https://github.com/r3d9u11/StablexUI-Designer
Also available wiki (in progress…) with demo-videos and information for users and developers: https://github.com/r3d9u11/StablexUI-Designer/wiki

4 Likes

well done,wonderful work.:+1:

1 Like

Hi, tried to build it with

openfl.exe test windows -neko

and got:

C:/HaxeToolkit/haxe/lib/stablexui/1,2,0/src/ru/stablex/ui/widgets/Options.hx:252: characters 8-43 : openfl.events.IEventDispatcher should be flash.display.DisplayObject
C:/HaxeToolkit/haxe/lib/stablexui/1,2,0/src/ru/stablex/ui/widgets/Options.hx:252: characters 8-43 : openfl.events.IEventDispatcher should be openfl.display.DisplayObject
Source/rn/stablex/designer/MainWindow.hx:174: characters 47-70 : Class<ru.stablex.ui.events.WidgetEvent> has no field TEXT_CHANGE
Source/rn/stablex/designer/MainWindow.hx:175: characters 48-71 : Class<ru.stablex.ui.events.WidgetEvent> has no field TEXT_CHANGE
Source/rn/stablex/designer/MainWindow.hx:316: characters 46-69 : Class<ru.stablex.ui.events.WidgetEvent> has no field TEXT_CHANGE
Source/rn/stablex/designer/MainWindow.hx:317: characters 50-73 : Class<ru.stablex.ui.events.WidgetEvent> has no field TEXT_CHANGE
Source/rn/stablex/designer/MainWindow.hx:318: characters 52-75 : Class<ru.stablex.ui.events.WidgetEvent> has no field TEXT_CHANGE
Source/rn/stablex/designer/MainWindow.hx:319: characters 54-77 : Class<ru.stablex.ui.events.WidgetEvent> has no field TEXT_CHANGE

latest everything. Is there some place a binary can be downloaded from ?

Do you use installation script for windows https://github.com/r3d9u11/StablexUI-Designer#windows ?
Try to update you stablexui from git: haxelib git stablexui https://github.com/RealyUniqueName/StablexUI.git

Tried stablexui git and now get:
Source/rn/stablex/designer/MainWindow.hx:56: characters 6-24 : Warning : Use programPath instead
Called from systools/Dialogs.hx line 36
Called from systools/Loader.hx line 18
Called from systools/Loader.hx line 30
Called from C:\HaxeToolkit\haxe\std/neko/Lib.hx line 35
Uncaught exception - load.c(237) : Failed to load library : systools.ndll

Update systools from git, like a stablexui. You can see how to install needed packages in script: https://github.com/r3d9u11/StablexUI-Designer/blob/master/Install-Windows.bat

1 Like

Doing the regression throws:
C:/HaxeToolkit/haxe/lib/stablexui/git/src/ru/stablex/ui/widgets/Options.hx:252: characters 2-37 : openfl.events.IEventDispatcher should be flash.display.DisplayObject
C:/HaxeToolkit/haxe/lib/stablexui/git/src/ru/stablex/ui/widgets/Options.hx:252: characters 2-37 : openfl.events.IEventDispatcher should be openfl.display.DisplayObject

with the updated line in place it throws:
Source/rn/stablex/designer/MainWindow.hx:56: characters 6-24 : Warning : Use programPath instead
Called from systools/Dialogs.hx line 36
Called from systools/Loader.hx line 18
Called from systools/Loader.hx line 30
Called from C:\HaxeToolkit\haxe\std/neko/Lib.hx line 35
Uncaught exception - load.c(237) : Failed to load library : systools.ndll

I’m way out of my range here :smiley:

show me your result of command: haxelib list

haxelib list result
https://shrib.com/see/fBLGFc7hOqMj9wVjuhxHBS4YTbl6UKUzLg6R93yNkBxjxIJiq6?v=nc

ok, just do this:

haxelib update lime
haxelib update openfl
haxelib install haxe-crypto
haxelib git stablexui https://github.com/RealyUniqueName/StablexUI.git
haxelib git systools https://github.com/waneck/systools.git
haxelib git haxity https://github.com/r3d9u11/haxe-haxity.git
haxelib git typext https://github.com/r3d9u11/haxe-typext.git
haxelib git dataTree https://github.com/r3d9u11/haxe-dataTree.git

1 Like

I think it was systools, wasn’t on git.
Throws : Source/rn/stablex/designer/MainWindow.hx:56: characters 6-24 : Warning : Use programPath instead
but runs anyway. Thank you!

No,this is just a warning of haxe 3.4-compiler,this is not an error and you can to ignore this message.
(also line 56 is not involved in the process of compiling and ignored for haxe 3.4+, it needed for older versions of haxe)

But your troubles in old versions of haxe-libraries: stablexui and systools.

This is stacktrace of your last exception:
Called from systools/Dialogs.hx line 36
Called from systools/Loader.hx line 18
Called from systools/Loader.hx line 30
Called from C:\HaxeToolkit\haxe\std/neko/Lib.hx line 35
Uncaught exception - load.c(237) : Failed to load library : systools.ndll

Tomorrow I’ll recheck SUID under Windows

1 Like

Hi, I am trying to build the Designer and i got an error related to class Any, more concrete I am building it using the batch file Install-Windows.bat but it fails with this error:
C:/HaxeToolkit/haxe/lib/stablexui/git/src/ru/stablex/ui/Dnd.hx:94: characters 12-34 : Any has no field dispatchEvent

I am using haxe version 3.4.6 so as far as i have seen it doesn’t use Dynamic anymore as class for mouseEvent.target

You can fix this by adding a cast, like cast (event.target, EventDispatcher)

Thanks, it worked perfectly :slight_smile: for compilation but now there are new errors
First one is just a warning:
Source/rn/stablex/designer/MainWindow.hx:56: characters 6-24 : Warning : Use programPath instead

But the second one crashes the application when i try to fill one TextField, for example for writing the name of the project.
Called from ? line 1
Called from ApplicationMain.hx line 80
Called from ApplicationMain.hx line 112
Called from lime/app/Application.hx line 269
Called from lime/_backend/native/NativeApplication.hx line 160
Called from lime/_backend/native/NativeApplication.hx line 530
Called from lime/_macros/EventMacro.hx line 101
Called from openfl/text/TextField.hx line 2973
Called from openfl/text/TextField.hx line 546
Uncaught exception - Class cast error
AL lib: (EE) alc_cleanup: 1 device not closed

What version of OpenFL?

I am using the latest for everything:
openfl 7.1.2
lime 6.2.0
haxe 3.4.6
stablexui from git but correcting what you told me before