haxework

Framework.
https://bitbucket.org/shmyga/haxework.git

To install, run:

haxelib install haxework 0.6.0 

See using Haxelib in Haxelib documentation for more information.

README.md

haxework

Gui framework for Haxe.

View

haxework.gui provides views classes.

Example

Build form using haxework.gui.ViewBuilder.

form.json:

{
  "type":"haxework.gui.VGroupView",
  "skin":{"type":"haxework.gui.skin.ColorSkin", "color":"0xffff00"},
  "paddings":20,
  "layoutMargin":10,
  "views":[
    {
      "id":"view1",
      "type":"haxework.gui.SpriteView",
      "pWidth":100, "pHeight":100,
      "skin":{"type":"haxework.gui.skin.ColorSkin", "color":"0xff0000"}
    },
    {
      "id":"view2",
      "type":"haxework.gui.SpriteView",
      "pWidth":100, "height":50,
      "skin":{"type":"haxework.gui.skin.ColorSkin", "color":"0x00ff00"}
    }
  ]
}
@:template("form.json")
class FormView extends VGroupView implements ViewBuilder {}

var form = new FormView();
Root.bind(form); // Add form to stage as root view element.
trace(form.view1);
trace(form.view2);

Loader

haxework.net provides loaders classes.

Example

new JsonLoader().GET("http://example.com/file.json")
  .then(function(data) {
    trace("Json Ok: " + data);
  })
  .catchError(function(error) {
    trace("Json Fail: " + error);
  });
Contributors
shmyga
Version
0.6.0
Published
11 months ago
License
BSD

All libraries are free

Every month, more than thousand developers use haxelib to find, share, and reuse code — and assemble it in powerful new ways. Enjoy Haxe; It is great!

Explore Haxe

Haxe Manual

Haxe Code Cookbook

Haxe API documentation

You can try Haxe in the browser! try.haxe.org

Join us on Github!

Haxe is being developed on GitHub. Feel free to contribute or report issues to our projects.

Haxe on Github