TBD
This library provides backend-independent part of StablexUI.
haxelib git stablexui-core https://github.com/StablexUI/Core.git master
Normally you don't need to explicitly include this library in your project, because it will be automatically included by StablexUI backend you choose.
Install StablexUI Core and a backend (e.g. StablexUI Flash), then plug backend library into your project. You can also install a theme (e.g. FlatUI Theme). If you use a theme, you need to instantiate it before initializing StablexUI. Here is an initialization code required to get started:
importsx.Sx;
importsx.flatui.FlatUITheme;
classMain
{
/** * Entry point to an app*/staticpublicfunctionmain ()
{
Sx.theme=newFlatUITheme();
Sx.init(run);
}
/** * Entry point to your own code*/staticpublicfunctionrun ()
{
//Now you can create some widgetsvarbutton=newButton();
button.text='Hello, world!';
//add to `global` GUI rootSx.root.addChild(button);
}
}