• This repository has been archived on 14/Oct/2019
  • Stars
    star
    392
  • Rank 109,735 (Top 3 %)
  • Language Haxe
  • Created over 11 years ago
  • Updated about 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

IMPORTANT NOTE! This repository is no longer maintained. Please consider the newer version: https://github.com/haxeui/haxeui-core

NOTE: This is a legacy unmaintained version of HaxeUI

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

Important note about OpenFl/Lime

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:

  • OpenFL: 3.6.1
  • Lime: 2.9.1

Haxe UI

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.

Documentation

Wiki (Incomplete)

API (Incomplete)

Projects

Instructions

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.

Components

General components

  • Button
  • Check box
  • Image
  • Option box
  • Progress bars (horizontal & vertical)
  • Scroll bars (horizontal & vertical)
  • Sliders (horizontal & vertical)
  • Tab bars
  • Text (static, input, multiline)
  • List selection (drop downs, popup lists)
  • Date selection (drop downs, popup calendar)
  • Calendar
  • Menus

Extended components

  • Code editor (supports basic syntax highlighting)
  • RTF edtior (preliminary, only fully functional in flash due to neko/cpp limitations)

Layout, position and containment components

  • Accordion
  • Grid
  • HBox
  • ListView
  • MenuBar
  • ScrollView
  • Stack
  • TabView
  • VBox

Popups

  • Busy
  • Simple
  • List
  • Custom
  • Calendar

Data Sources

  • Array
  • JSON
  • XML
  • MySQL (Neko/Read-Only)
  • Files (Neko/Read-Only)

Notes

html5 target functions but is not particularly performant. This will, hopefully, be improved in future releases.

An experimental html5 demo is available here

Licence

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.

More Repositories

1

hxWebSockets

hxWebSockets - websockets for all haxe platforms
Haxe
81
star
2

hxArduino

hxArduino - custom haxe generator to create arduino specific c++
Haxe
40
star
3

haxeui-vscode

Visual studio code extension for HaxeUI support
Haxe
18
star
4

hscript-ex

Haxe
17
star
5

haxe-pad

Pluggable text editor using HaxeUI - Very much a work in progress
Haxe
14
star
6

haxeui-builder

Haxe
11
star
7

haxeui-test-app

HaxeUI Test Application - Please note, this app is no longer maintained, and as a result there are lots of things that with either not work or will not work correctly
Haxe
11
star
8

openflisolib

OpenFl/Haxe port of as3isolib... ... well... because.
Haxe
9
star
9

hui-irc-threadtest

A simple test project to establish how better to put apps together using haxeui.
CSS
8
star
10

HaxeUILayoutPreview

FlashDevelop plugin to enable previewing and live editing of HaxeUI xml layouts
C#
8
star
11

haxeui-file-dialogs

File dialogs for HaxeUI
Haxe
7
star
12

haxe-maven-plugin

maven plugin for haxe transpilation
Java
7
star
13

input-simulator

C++
6
star
14

hxLibGit2

LibGit2 externs (and wrappers) for Haxe
C
6
star
15

hpel

Haxe Process Expression Language - Work In Progress
Haxe
5
star
16

haxeui-showcase

HaxeUI component showcase - Work in progress
Haxe
5
star
17

haxeui-haxelib

HaxeLib client using HaxeUI
Haxe
5
star
18

haxeui-webview

Experimental wev view for haxeui (using cocktail)
HTML
5
star
19

haxeui-remoting

Haxe
4
star
20

haxeui-rich-text

Rich text components for haxeui
Haxe
4
star
21

hvm

Haxe
3
star
22

HaxelibAPI

Haxe
3
star
23

openfl-installer

Automatic Installer for OpenFL
Haxe
1
star
24

haxeui-video

Haxe
1
star
25

haxeui-inspector

Haxe
1
star
26

mathmlformula

Automatically exported from code.google.com/p/mathmlformula
ActionScript
1
star
27

haxeui-style-builder

Style builder for HaxeUI
Haxe
1
star
28

github-api

Github API
Haxe
1
star
29

haxeui-test-layout

Haxe
1
star
30

haxe-bdd

Haxe
1
star
31

http

Haxe
1
star