Skip to content

Latest commit

 

History

History
42 lines (33 loc) · 1.45 KB

README.md

File metadata and controls

42 lines (33 loc) · 1.45 KB

build status

haxeui-heaps

haxeui-heaps is the Heaps backend for HaxeUI.

Installation

haxeui-heaps relies on haxeui-core as well as Heaps. To install:

haxelib install heaps
haxelib install haxeui-core
haxelib install haxeui-heaps

Toolkit initialization and usage

Before you start using HaxeUI in your project, you must first initialize the Toolkit.

Toolkit.init();

Once the toolkit is initialized, you can add components using the methods specified here.

var app = new HaxeUIApp();
app.ready(
	function() {
		var main = ComponentMacros.buildComponent("assets/xml/test.xml"); // whatever your XML layout path is
		app.addComponent(main);
		app.start();
	}
);

Some examples are here.

Addtional resources