├── _template ├── assets │ └── empty.txt ├── src │ ├── haxeui-pdcurses.properties │ ├── haxeui-heaps.properties │ ├── haxeui-hxwidgets.properties │ ├── haxeui-flixel.properties │ ├── MainView.hx │ └── Main.hx ├── nme-windows.hxml ├── flixel-hl.hxml ├── openfl-hl.hxml ├── flixel-html5.hxml ├── flixel-windows.hxml ├── openfl-html5.hxml ├── openfl-windows.hxml ├── .haxeui ├── html5.hxml ├── pdcurses.hxml ├── raylib.hxml ├── heaps-js.hxml ├── hxwidgets.hxml ├── heaps-hl.hxml ├── .vscode │ ├── tasks.json │ └── launch.json ├── project.nmml ├── khafile.js ├── application.xml ├── build │ └── html5 │ │ └── index.html └── project.xml ├── .gitignore ├── buttons ├── colorful-buttons │ ├── .gitignore │ ├── html.png │ ├── wxwidgets.png │ ├── html5.hxml │ ├── .haxeui │ ├── src │ │ ├── haxeui-hxwidgets.properties │ │ └── Main.hx │ ├── hxwidgets.hxml │ └── README.md └── basic-buttons │ ├── src │ ├── haxeui-pdcurses.properties │ ├── haxeui-heaps.properties │ ├── haxeui-hxwidgets.properties │ ├── haxeui-flixel.properties │ ├── Main.hx │ └── MainView.hx │ ├── nme-windows.hxml │ ├── flixel-hl.hxml │ ├── flixel-html5.hxml │ ├── openfl-hl.hxml │ ├── flixel-windows.hxml │ ├── openfl-html5.hxml │ ├── openfl-windows.hxml │ ├── .haxeui │ ├── html5.hxml │ ├── pdcurses.hxml │ ├── raylib.hxml │ ├── heaps-js.hxml │ ├── hxwidgets.hxml │ ├── heaps-hl.hxml │ ├── .vscode │ ├── tasks.json │ └── launch.json │ ├── project.nmml │ ├── khafile.js │ ├── application.xml │ └── project.xml └── README.md /_template/assets/empty.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | Kha/ 2 | build/ 3 | -------------------------------------------------------------------------------- /buttons/colorful-buttons/.gitignore: -------------------------------------------------------------------------------- 1 | build -------------------------------------------------------------------------------- /_template/src/haxeui-pdcurses.properties: -------------------------------------------------------------------------------- 1 | haxe.ui.pdcurses.title=Main 2 | -------------------------------------------------------------------------------- /_template/src/haxeui-heaps.properties: -------------------------------------------------------------------------------- 1 | haxe.ui.heaps.engine.background.color=#ffffff 2 | -------------------------------------------------------------------------------- /buttons/basic-buttons/src/haxeui-pdcurses.properties: -------------------------------------------------------------------------------- 1 | haxe.ui.pdcurses.title=Main 2 | -------------------------------------------------------------------------------- /_template/nme-windows.hxml: -------------------------------------------------------------------------------- 1 | -lib haxeui-core 2 | -lib haxeui-nme 3 | --cmd nme test windows -------------------------------------------------------------------------------- /_template/flixel-hl.hxml: -------------------------------------------------------------------------------- 1 | -lib haxeui-core 2 | -lib haxeui-flixel 3 | --cmd lime test project.xml hl -------------------------------------------------------------------------------- /_template/openfl-hl.hxml: -------------------------------------------------------------------------------- 1 | -lib haxeui-core 2 | -lib haxeui-openfl 3 | --cmd lime test application.xml hl -------------------------------------------------------------------------------- /buttons/basic-buttons/nme-windows.hxml: -------------------------------------------------------------------------------- 1 | -lib haxeui-core 2 | -lib haxeui-nme 3 | --cmd nme test windows -------------------------------------------------------------------------------- /buttons/basic-buttons/src/haxeui-heaps.properties: -------------------------------------------------------------------------------- 1 | haxe.ui.heaps.engine.background.color=#ffffff 2 | -------------------------------------------------------------------------------- /_template/flixel-html5.hxml: -------------------------------------------------------------------------------- 1 | -lib haxeui-core 2 | -lib haxeui-flixel 3 | --cmd lime build project.xml html5 -------------------------------------------------------------------------------- /_template/flixel-windows.hxml: -------------------------------------------------------------------------------- 1 | -lib haxeui-core 2 | -lib haxeui-flixel 3 | --cmd lime test project.xml windows -------------------------------------------------------------------------------- /_template/openfl-html5.hxml: -------------------------------------------------------------------------------- 1 | -lib haxeui-core 2 | -lib haxeui-openfl 3 | --cmd lime build application.xml html5 -------------------------------------------------------------------------------- /_template/openfl-windows.hxml: -------------------------------------------------------------------------------- 1 | -lib haxeui-core 2 | -lib haxeui-openfl 3 | --cmd lime test application.xml windows -------------------------------------------------------------------------------- /buttons/basic-buttons/flixel-hl.hxml: -------------------------------------------------------------------------------- 1 | -lib haxeui-core 2 | -lib haxeui-flixel 3 | --cmd lime test project.xml hl -------------------------------------------------------------------------------- /_template/src/haxeui-hxwidgets.properties: -------------------------------------------------------------------------------- 1 | haxe.ui.hxwidgets.frame.fit=true 2 | haxe.ui.hxwidgets.frame.title=Main 3 | -------------------------------------------------------------------------------- /buttons/basic-buttons/flixel-html5.hxml: -------------------------------------------------------------------------------- 1 | -lib haxeui-core 2 | -lib haxeui-flixel 3 | --cmd lime build project.xml html5 -------------------------------------------------------------------------------- /buttons/basic-buttons/openfl-hl.hxml: -------------------------------------------------------------------------------- 1 | -lib haxeui-core 2 | -lib haxeui-openfl 3 | --cmd lime test application.xml hl -------------------------------------------------------------------------------- /_template/.haxeui: -------------------------------------------------------------------------------- 1 | # generated file simply to hold info about projects created with "haxeui create ..." 2 | name=Main 3 | -------------------------------------------------------------------------------- /buttons/basic-buttons/flixel-windows.hxml: -------------------------------------------------------------------------------- 1 | -lib haxeui-core 2 | -lib haxeui-flixel 3 | --cmd lime test project.xml windows -------------------------------------------------------------------------------- /buttons/basic-buttons/openfl-html5.hxml: -------------------------------------------------------------------------------- 1 | -lib haxeui-core 2 | -lib haxeui-openfl 3 | --cmd lime build application.xml html5 -------------------------------------------------------------------------------- /_template/html5.hxml: -------------------------------------------------------------------------------- 1 | -cp src 2 | -main Main 3 | 4 | -lib haxeui-core 5 | -lib haxeui-html5 6 | 7 | -js build/html5/Main.js 8 | -------------------------------------------------------------------------------- /_template/src/haxeui-flixel.properties: -------------------------------------------------------------------------------- 1 | haxe.ui.flixel.background.color=#FFFFFF 2 | haxe.ui.flixel.mouse.useSystemCursor=true 3 | -------------------------------------------------------------------------------- /buttons/basic-buttons/openfl-windows.hxml: -------------------------------------------------------------------------------- 1 | -lib haxeui-core 2 | -lib haxeui-openfl 3 | --cmd lime test application.xml windows -------------------------------------------------------------------------------- /buttons/colorful-buttons/html.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haxeui/component-examples/HEAD/buttons/colorful-buttons/html.png -------------------------------------------------------------------------------- /_template/pdcurses.hxml: -------------------------------------------------------------------------------- 1 | -cp src 2 | -main Main 3 | 4 | -lib haxeui-core 5 | -lib haxeui-pdcurses 6 | 7 | -cpp build/pdcurses 8 | -------------------------------------------------------------------------------- /buttons/basic-buttons/.haxeui: -------------------------------------------------------------------------------- 1 | # generated file simply to hold info about projects created with "haxeui create ..." 2 | name=Main 3 | -------------------------------------------------------------------------------- /buttons/basic-buttons/src/haxeui-hxwidgets.properties: -------------------------------------------------------------------------------- 1 | haxe.ui.hxwidgets.frame.fit=true 2 | haxe.ui.hxwidgets.frame.title=Main 3 | -------------------------------------------------------------------------------- /buttons/colorful-buttons/wxwidgets.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haxeui/component-examples/HEAD/buttons/colorful-buttons/wxwidgets.png -------------------------------------------------------------------------------- /buttons/basic-buttons/html5.hxml: -------------------------------------------------------------------------------- 1 | -cp src 2 | -main Main 3 | 4 | -lib haxeui-core 5 | -lib haxeui-html5 6 | 7 | -js build/html5/Main.js 8 | -------------------------------------------------------------------------------- /buttons/basic-buttons/pdcurses.hxml: -------------------------------------------------------------------------------- 1 | -cp src 2 | -main Main 3 | 4 | -lib haxeui-core 5 | -lib haxeui-pdcurses 6 | 7 | -cpp build/pdcurses 8 | -------------------------------------------------------------------------------- /buttons/basic-buttons/src/haxeui-flixel.properties: -------------------------------------------------------------------------------- 1 | haxe.ui.flixel.background.color=#FFFFFF 2 | haxe.ui.flixel.mouse.useSystemCursor=true 3 | -------------------------------------------------------------------------------- /buttons/colorful-buttons/html5.hxml: -------------------------------------------------------------------------------- 1 | -cp src 2 | -main Main 3 | 4 | -lib haxeui-core 5 | -lib haxeui-html5 6 | 7 | -js build/html5/Main.js 8 | -------------------------------------------------------------------------------- /_template/raylib.hxml: -------------------------------------------------------------------------------- 1 | -cp src 2 | -main Main 3 | 4 | -lib haxeui-core 5 | -lib haxeui-raylib 6 | -lib raylib-haxe 7 | 8 | -cpp build/raylib 9 | -------------------------------------------------------------------------------- /buttons/colorful-buttons/.haxeui: -------------------------------------------------------------------------------- 1 | # generated file simply to hold info about projects created with "haxeui create ..." 2 | name=Colorful Buttons 3 | -------------------------------------------------------------------------------- /buttons/colorful-buttons/src/haxeui-hxwidgets.properties: -------------------------------------------------------------------------------- 1 | haxe.ui.hxwidgets.frame.fit=true 2 | haxe.ui.hxwidgets.frame.title=Colorful Buttons 3 | -------------------------------------------------------------------------------- /buttons/basic-buttons/raylib.hxml: -------------------------------------------------------------------------------- 1 | -cp src 2 | -main Main 3 | 4 | -lib haxeui-core 5 | -lib haxeui-raylib 6 | -lib raylib-haxe 7 | 8 | -cpp build/raylib 9 | -------------------------------------------------------------------------------- /_template/heaps-js.hxml: -------------------------------------------------------------------------------- 1 | -cp src 2 | -main Main 3 | 4 | -lib heaps 5 | -lib haxeui-core 6 | -lib haxeui-heaps 7 | 8 | -D resourcesPath=assets 9 | 10 | -js build/heaps/js/Main.js 11 | -------------------------------------------------------------------------------- /_template/src/MainView.hx: -------------------------------------------------------------------------------- 1 | package ; 2 | 3 | import haxe.ui.containers.VBox; 4 | 5 | @:xml(' 6 | 7 | 8 | ') 9 | class MainView extends VBox { 10 | } -------------------------------------------------------------------------------- /_template/hxwidgets.hxml: -------------------------------------------------------------------------------- 1 | -cp src 2 | -main Main 3 | 4 | -lib haxeui-core 5 | -lib haxeui-hxwidgets 6 | -lib hxWidgets 7 | 8 | -D ABI=-MD 9 | -D WXSTATIC 10 | 11 | -cpp build/hxwidgets 12 | -------------------------------------------------------------------------------- /buttons/basic-buttons/heaps-js.hxml: -------------------------------------------------------------------------------- 1 | -cp src 2 | -main Main 3 | 4 | -lib heaps 5 | -lib haxeui-core 6 | -lib haxeui-heaps 7 | 8 | -D resourcesPath=assets 9 | 10 | -js build/heaps/js/Main.js 11 | -------------------------------------------------------------------------------- /_template/heaps-hl.hxml: -------------------------------------------------------------------------------- 1 | -cp src 2 | -main Main 3 | 4 | -lib heaps 5 | -lib hlsdl 6 | -lib haxeui-core 7 | -lib haxeui-heaps 8 | 9 | -D resourcesPath=assets 10 | 11 | -hl build/heaps/hl/Main.hl 12 | -------------------------------------------------------------------------------- /buttons/basic-buttons/hxwidgets.hxml: -------------------------------------------------------------------------------- 1 | -cp src 2 | -main Main 3 | 4 | -lib haxeui-core 5 | -lib haxeui-hxwidgets 6 | -lib hxWidgets 7 | 8 | -D ABI=-MD 9 | -D WXSTATIC 10 | 11 | -cpp build/hxwidgets 12 | -------------------------------------------------------------------------------- /buttons/colorful-buttons/hxwidgets.hxml: -------------------------------------------------------------------------------- 1 | -cp src 2 | -main Main 3 | 4 | -lib haxeui-core 5 | -lib haxeui-hxwidgets 6 | -lib hxWidgets 7 | 8 | -D ABI=-MD 9 | -D WXSTATIC 10 | 11 | -cpp build/hxwidgets 12 | -------------------------------------------------------------------------------- /buttons/basic-buttons/heaps-hl.hxml: -------------------------------------------------------------------------------- 1 | -cp src 2 | -main Main 3 | 4 | -lib heaps 5 | -lib hlsdl 6 | -lib haxeui-core 7 | -lib haxeui-heaps 8 | 9 | -D resourcesPath=assets 10 | 11 | -hl build/heaps/hl/Main.hl 12 | -------------------------------------------------------------------------------- /_template/.vscode/tasks.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "2.0.0", 3 | "tasks": [ 4 | { 5 | "type": "haxe", 6 | "args": "active configuration", 7 | "group": { 8 | "kind": "build", 9 | "isDefault": true 10 | }, 11 | "problemMatcher": [], 12 | "label": "haxe: active configuration" 13 | } 14 | ] 15 | } -------------------------------------------------------------------------------- /_template/src/Main.hx: -------------------------------------------------------------------------------- 1 | package ; 2 | 3 | import haxe.ui.HaxeUIApp; 4 | 5 | class Main { 6 | public static function main() { 7 | var app = new HaxeUIApp(); 8 | app.ready(function() { 9 | app.addComponent(new MainView()); 10 | 11 | app.start(); 12 | }); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /buttons/basic-buttons/.vscode/tasks.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "2.0.0", 3 | "tasks": [ 4 | { 5 | "type": "haxe", 6 | "args": "active configuration", 7 | "group": { 8 | "kind": "build", 9 | "isDefault": true 10 | }, 11 | "problemMatcher": [], 12 | "label": "haxe: active configuration" 13 | } 14 | ] 15 | } -------------------------------------------------------------------------------- /buttons/basic-buttons/src/Main.hx: -------------------------------------------------------------------------------- 1 | package ; 2 | 3 | import haxe.ui.HaxeUIApp; 4 | 5 | class Main { 6 | public static function main() { 7 | var app = new HaxeUIApp(); 8 | app.ready(function() { 9 | app.addComponent(new MainView()); 10 | 11 | app.start(); 12 | }); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /buttons/basic-buttons/src/MainView.hx: -------------------------------------------------------------------------------- 1 | package ; 2 | 3 | import haxe.ui.events.MouseEvent; 4 | import haxe.ui.containers.VBox; 5 | 6 | @:xml(' 7 | 8 |