redstarcoder / draw2dui

draw2dui is a golang package for drawing user interfaces using draw2d and OpenGL.
BSD 2-Clause "Simplified" License
2 stars 0 forks source link

draw2dui

GoDoc

**NOTICE** This library is very young, and may be subject to API breaking changes. It should stabilize within the next few weeks. **NOTICE**

Package draw2dui offers useful tools for drawing and handling UIs in Golang using draw2d with OpenGL.

Installation

Install golang. To install or update the package draw2dui on your system, run:

go get -u github.com/redstarcoder/draw2dui

Building

These are instructions for building on Linux. This library should be able to compile on whatever you can make gl and glfw compile on though.

Target: Linux

go build

Target: Windows

First install mingw, then run something like this:

CC=x86_64-w64-mingw32-gcc CGO_ENABLED=1 GOOS=windows go build

Acknowledgments