Skip to content

Repository files navigation

StablexUI Build Status

TBD

StablexUI Core

This library provides backend-independent part of StablexUI.

Installation

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.

Getting started

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);
}
}

About

Backend independent part of StablexUI

Resources

Stars

7 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages