<commit_before># ui: platform-native GUI library for Go

# This package is still very much WIP.

As of December 2015 the previous package ui API that has been around since this repo was started is no longer being supported. It is being replaced with a much more stable API built around my libui; see below.

If you still want to use the old package ui, you can get the package under the `pre-libui` tag. Keep in mind that it's not stable, buggy, and **no longer supported**. If you do continue, make sure that instances of `ui.Window` escape to the heap to avoid some of the issues.

If you want to play around with this new package ui, you'll need to install libui manually. Clone that repo and `make` (with GNU make) libui, then:

- On Windows, merely copy out\libui.dll to the root of this repo.
	- Go 1.5 is adequate.
- On OS X, copy out/libui.A.dylib to the root of this repo as libui.A.dylib and symlink it to libui.dylib
	- You must also be running Go 1.6 Beta 2 or newer due to more Go bugs.
- On other Unixes, copy out/libui.so.0 to the root of this repo as libui.so.0 and symlink it to libui.so
	- Go 1.5 is adequate.

and then copy ui.h to the top of this repo as well. (You may symlink any files instead of copying if so choose.)

Stable releases of package ui will have all these files built in; these steps are only necessary for master builds.

# New README

This is a library that aims to provide simple GUI software development in Go.

It is based on my [libui](https://github.com/andlabs/libui), a simple cross-platform library that does the same thing, but written in C. **You must include this library in your binary distributions.**

It runs on/requires:<commit_msg>Made things more clear.<commit_after># ui: platform-native GUI library for Go

# This package is still very much WIP. DO NOT SIMPLY `go get` THE PACKAGE AS IT IS RIGHT NOW; IT WILL NOT WORK. READ BELOW.

As of December 2015 the previous package ui API that has been around since this repo was started is no longer being supported. It is being replaced with a much more stable API built around my libui; see below.

If you still want to use the old package ui, you can get the package under the `pre-libui` tag. Keep in mind that it's not stable, buggy, and **no longer supported**. If you do continue, make sure that instances of `ui.Window` escape to the heap to avoid some of the issues.

If you want to play around with this new package ui, you'll need to install libui manually. Clone that repo and `make` (with GNU make) libui, then:

- On Windows, merely copy out\libui.dll to the root of this repo.
	- Go 1.5 is adequate.
- On OS X, copy out/libui.A.dylib to the root of this repo as libui.A.dylib and symlink it to libui.dylib
	- You must also be running Go 1.6 Beta 2 or newer due to more Go bugs.
- On other Unixes, copy out/libui.so.0 to the root of this repo as libui.so.0 and symlink it to libui.so
	- Go 1.5 is adequate.

and then copy ui.h to the top of this repo as well. (You may symlink any files instead of copying if so choose.)

Stable releases of package ui will have all these files built in; these steps are only necessary for master builds.

# New README

This is a library that aims to provide simple GUI software development in Go.

It is based on my [libui](https://github.com/andlabs/libui), a simple cross-platform library that does the same thing, but written in C. **You must include this library in your binary distributions.**

It runs on/requires:
{'fraction_non_alphanumeric': 0.05823003747477659, 'fraction_numerical': 0.007494955318535601, 'mean_word_length': 3.6082337317397077, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2291036', 'n_tokens_mistral': 1013, 'n_tokens_neox': 979, 'n_words': 604}