An open API service indexing awesome lists of open source software.

https://github.com/thebracket/bracket-ui

A user-interface library for bracket-lib.
https://github.com/thebracket/bracket-ui

Last synced: about 1 year ago
JSON representation

A user-interface library for bracket-lib.

Awesome Lists containing this project

README

          

# Bracket-UI

**Work-in-progress. Not ready for human consumption.**

Bracket-UI is intended to provide a user-interface module for use with [Bracket-lib](https://github.com/amethyst/bracket-lib) projects. It won't do *everything*, but should provide enough functionality to reduce the tedium of UI building.

## What currently works?

You can find examples showing in-development functionality of building layouts and querying elements:

* `minimal` is the "hello world" of bracket-ui.
* `panel_layouts` demonstrates early panel functionality, with absolute and relative placements supported. Nesting panels is encouraged.
* `splits` shows how to use the panel `split_horizontal` and `split_vertical` functions to sub-divide panels into sections.
* `updates` uses the widget query/set system to push UI updates. Currently updates a label, a title, and shows/hides a panel.
* `mouse` is the genesis of mouse support with buttons. Not very far along yet.

The syntax is still pretty wretched. That will be a later target; make it work first, and then make it pretty!

## What doesn't work yet?

A lot of things. Most notably, any sort of user interaction with controls. I'm also hoping for a stylesheet system and a builder pattern to make UI building less painful.

Oh, and I haven't documented *anything* yet. I'd like to get closer to a final interface before I do that.