If you are writing a new application, or are considering moving a legacy application across to the newer version, check out the repository here: https://github.com/haxeui/haxeui-core
OpenFL has dropped legacy support in versions after 3.6.1
. Since this version of HaxeUI is tied to legacy versions of OpenFL/Lime the following are the maximum versions that can be used with it:
Cross platform Haxe/OpenFL set of styleable application centric rich UI components to be used "out the box". Supports css type styling/skinning.
Demos (May be out of date): SWF | Windows | Neko | Android | AIR | HTML
Adobe AIR note: Installer will not install from mounted/network drives.
Wiki (Incomplete)
API (Incomplete)
First install haxeui via haxelib:
haxelib install haxeui
Once installed add
<haxelib name="haxeui" />
to your openfl application.xml. Finally, create a basic application with:
import haxe.ui.toolkit.core.Macros;
import haxe.ui.toolkit.core.Toolkit;
import haxe.ui.toolkit.core.Root;
import haxe.ui.toolkit.controls.Button;
class Main {
public static function main() {
Macros.addStyleSheet("styles/gradient/gradient.css");
Toolkit.init();
Toolkit.openFullscreen(function(root:Root) {
var button:Button = new Button();
button.text = "HaxeUI!";
root.addChild(button);
});
}
}
Note: haxeui comes with some styles ready for use, if no styles are added a default one is used.
If you created your own style/theme from scratch and don't want to include the built-in styles in your build result, specify the flag <haxdef name="haxeui-exclude-resources" />
before the <haxelib name="haxeui" />
directive in your project configuration file.
General components
Extended components
Layout, position and containment components
Popups
Data Sources
html5 target functions but is not particularly performant. This will, hopefully, be improved in future releases.
An experimental html5 demo is available here
Unless indicated otherwise, this code was created by Ian Harrigan and
provided under a MIT-style license.
Copyright (c) Ian Harrigan. All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED ?AS IS?, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.