/gwl

GWL is a crossplatform window and input api written in Go inspired by glfw

Primary LanguageGoBSD 2-Clause "Simplified" LicenseBSD-2-Clause

GWL

Go Documentation

GWL is a crossplatform window and input api written in pure Go inspired by glfw.

Goals

  1. Allow for concurrent calls to all functions
  2. Provide an idiomatic Go experience
  3. No CGO

Note

This project is a WIP and only currently builds for windows. MacOS support will come once NOCGO gets added to the Go runtime. To further along the MacOS version of GWL please support the initiative. The Linux version will use XGB but I do not have a system to develop on.

Usage

  1. Get the package using go get github.com/totallygamerjet/gwl
  2. Import the package import "github.com/totallygamerjet/gwl"

Example

Examples can be found in the examples folder.

Contribute

All contributions are welcome: bug reports, pull requests, documentation etc.