NanoGUI.go NanoGUINanoGUI.go is a golang port of NanoGUI.

Overview

NanoGUI.go

This is a golang port of NanoGUI. NanoGUI is a a minimalistic cross-platform widget library for OpenGL.

Default Font Customize Guide

TBD

Copyrights

It contains the following fonts:

  • Roboto Fonts
    • Genshin Bold
    • Genshin Regular
  • Material Design Icon: https://www.google.com/design/icons/
    • Material Design Icon is developed by Google and it is released under Creative Commons 4.0 CC-BY.

License

zlib license

You might also like...
Golang bindings for XCGUI, Windows GUI library, DirectUI design idea.
Golang bindings for XCGUI, Windows GUI library, DirectUI design idea.

XCGUI 项目文档 帮助文档 程序示例 介绍 English | 简体中文 DirectUI设计思想: 在窗口内没有子窗口,界面元素都是逻辑上的区域(无HWND句柄,安全,灵活), 所有UI元素都是自主开发(不受系统限制), 更加灵活的实现各种程序界面,满足不同用户的需求.

Hedgex Single User Interface With Golang

Hedgex Single User Interface With Golang

Tiny cross-platform webview library for C/C++/Golang. Uses WebKit (Gtk/Cocoa) and Edge (Windows)

webview A tiny cross-platform webview library for C/C++/Golang to build modern cross-platform GUIs. Also, there are Rust bindings, Python bindings, Ni

Experimenting with golang 1.18 workspaces

go-workspace Experimenting with golang-1.18 multi-module workspaces Run # root module go run ./... go test -v ./... # lib module go test -v ./lib/...

Idiomatic Golang GUI using Lorca
Idiomatic Golang GUI using Lorca

Dali Summary Dali is a pure Golang library built on lorca in order to provide Go developers a way to create GUI-based applications using idiomatic Go.

Neovim GUI written in Golang
Neovim GUI written in Golang

Neovim GUI written in Golang, using a Golang qt backend (https://github.com/ther

Cross-platform Go/Golang GUI library.

中文 | English GoVCL Cross-platform Golang GUI library, The core binding is liblcl, a common cross-platform GUI library created by Lazarus. GoVCL is a n

NanoVGo NanoVGNanoVGo is pure golang implementation of NanoVG. The same author maintains the NanoGUI.go project mentioned above.

NanoVGo Pure golang implementation of NanoVG. NanoVG is a vector graphics engine inspired by HTML5 Canvas API. DEMO API Reference See GoDoc Porting Me

A little websocket TCP proxy to let browsers talk to a fixed port on arbitrary hosts. Built for Gemini (gemini://, port 1965)

Kepler A little websocket TCP proxy built to let Amfora talk to Gemini servers when running in a browser. Usage $ git clone https://github.com/awfulco

Port-proxy - Temporary expose port for remote connections

Port proxy util Temporary expose port for remote connections. E.g. database/wind

Golang port of Petrovich - an inflector for Russian anthroponyms.
Golang port of Petrovich - an inflector for Russian anthroponyms.

Petrovich is the library which inflects Russian names to given grammatical case. This is the Go port of https://github.com/petrovich. Installation go

Proxy is a high performance HTTP(S) proxies, SOCKS5 proxies,WEBSOCKET, TCP, UDP proxy server implemented by golang. Now, it supports chain-style proxies,nat forwarding in different lan,TCP/UDP port forwarding, SSH forwarding.Proxy是golang实现的高性能http,https,websocket,tcp,socks5代理服务器,支持内网穿透,链式代理,通讯加密,智能HTTP,SOCKS5代理,黑白名单,限速,限流量,限连接数,跨平台,KCP支持,认证API。
A fully self-contained Nmap like parallel port scanning module in pure Golang that supports SYN-ACK (Silent Scans)

gomap What is gomap? Gomap is a fully self-contained nmap like module for Golang. Unlike other projects which provide nmap C bindings or rely on other

A port of the parser from graphql-js into golang

gqlparser This is a parser for graphql, written to mirror the graphql-js reference implementation as closely while remaining idiomatic and easy to use

Golang port of simdjson: parsing gigabytes of JSON per second
Golang port of simdjson: parsing gigabytes of JSON per second

This is a Golang port of simdjson, a high performance JSON parser developed by Daniel Lemire and Geoff Langdale. It makes extensive use of SIMD instructions to achieve parsing performance of gigabytes of JSON per second.

✨ Generate unique IDs (Port of Node package "generate-snowflake" to Golang)

✨ Generate Snowflake Generate unique IDs. Inspired by Twitter's Snowflake system. 📦 Installation Initialize your project (go mod init example.com/exa

GoLang port of Google's libphonenumber library

phonenumbers golang port of Google's libphonenumber, forked from libphonenumber from ttacon which in turn is a port of the original Java library. You

Golang port of SharpEDRChecker: EDRHunt

EDRHunt scans Windows services, drivers, processes, registry for installed EDRs.

golang script to check server & port status

netcheck Simple script to check if host alive by sending ICMP messages & TCP Port checks. ICMP messages not working without sudo privileges. usage net

Comments
  • NewAnchorWithSize broken

    NewAnchorWithSize broken

    I believe these: https://github.com/shibukawa/nanogui-go/blob/057970537e4802445246fd822d6947f38bb656a4/layout.go#L719 should be w and h instead of x and y.

    opened by AndreKR 0
  • Using go-gl

    Using go-gl

    Any reason why nanogui-go relies on "github.com/goxjs/gl" and "github.com/shibukawa/glfw" instead of the more maintained "https://github.com/go-gl" equivalents?

    opened by SaadHafiane 0
  • Building issues

    Building issues

    Hey!

    I must say this is fantastic work, however, I'm not able to use this as I'm not entirely sure how you are suppose to "install" this.

    go get github.com/shibukawa/nanogui-go gives me:

    #cd ...../src/github.com/shibukawa/nanovgo; git submodule update --init --recursive
    Submodule 'gh-pages' ([email protected]:shibukawa/nanovgo.git) registered for path 'gh-pages'
    Cloning into 'gh-pages'...
    ERROR: We're doing an SSH key audit.
    Reason: unverified due to lack of use
    Please visit https://github.com/settings/keys/420226
    to approve this key so we know it's safe.
    Fingerprint: 70:e5:.....
    fatal: Could not read from remote repository.
    
    Please make sure you have the correct access rights
    and the repository exists.
    
    fatal: clone of '[email protected]:shibukawa/nanovgo.git' into submodule path 'gh-pages' failed
    package github.com/shibukawa/nanovgo: exit status 128
    

    And I also noticed this trying to build nanogui-go:

    ../src/github.com/shibukawa/glfw-2/v3.2/glfw/glfw/src/x11_window.c:429:16: error: ‘_GLFWwindowX11 {aka struct _GLFWwindowX11}’ has no member named ‘statusStartCallback’

    Could you be so kind to update this so it builds? Possibly add instructions/steps needed to do it.

    Thanks!

    opened by Chillance 17
  • Import path and Compilation issues

    Import path and Compilation issues

    The example code uses an invalid package name in import, nanogui.go instead of nanogui-go which results in errors, after fixing the packages and trying to build I still get this error while compiling (go build) nanogui itself or its example (note that nanovgo works just fine.):

    panic: bad store type
    
    goroutine 1 [running]:
    panic(0x8b9380, 0xc0443d0c80)
            c:/go/src/runtime/panic.go:500 +0x1af
    cmd/compile/internal/amd64.storeByType(0xae9640, 0xb1d880, 0xc0443d0c60)
            c:/go/src/cmd/compile/internal/amd64/ssa.go:116 +0xdc
    cmd/compile/internal/amd64.ssaGenValue(0xc043b52360, 0xc0444ef3b0)
            c:/go/src/cmd/compile/internal/amd64/ssa.go:742 +0x2989
    cmd/compile/internal/gc.genssa(0xc044406c30, 0xc0420e2278, 0xc043b1f8f0, 0xc043b1fb90)
            c:/go/src/cmd/compile/internal/gc/ssa.go:3976 +0x245
    cmd/compile/internal/gc.compile(0xc0430014d0)
            c:/go/src/cmd/compile/internal/gc/pgen.go:482 +0x761
    cmd/compile/internal/gc.funccompile(0xc0430014d0)
            c:/go/src/cmd/compile/internal/gc/dcl.go:1287 +0x18d
    cmd/compile/internal/gc.Main()
            c:/go/src/cmd/compile/internal/gc/main.go:467 +0x19ff
    cmd/compile/internal/amd64.Main()
            c:/go/src/cmd/compile/internal/amd64/galign.go:93 +0x301
    main.main()
            c:/go/src/cmd/compile/main.go:33 +0x2aa
    

    I've spent good 2 hours or so trying to figure out how to get any kind of verbosity but to no avail.

    h:\gopath\src\github.com\mimameidr>go version
    
    go version go1.7.1 windows/amd64
    
    h:\gopath\src\github.com\mimameidr>gcc -v
    
    Using built-in specs.
    COLLECT_GCC=gcc
    COLLECT_LTO_WRAPPER=H:/MinGW/bin/../libexec/gcc/x86_64-w64-mingw32/5.1.0/lto-wrapper.exe
    Target: x86_64-w64-mingw32
    Configured with: ../../../src/gcc-5.1.0/configure --build=x86_64-w64-mingw32 --enable-targets=all --enable-languages=ada,c,c++,fortran,lto,objc,obj-c++ --enable-libgomp --enable-lto --enable-graphite --enable-cxx-flags=-DWINPTHREAD_STATIC --disable-build-with-cxx --disable-build-poststage1-with-cxx --enable-libstdcxx-debug --enable-threads=posix --enable-version-specific-runtime-libs --enable-fully-dynamic-string --enable-libstdcxx-threads --enable-libstdcxx-time --with-gnu-ld --disable-werror --disable-nls --disable-win32-registry --prefix=/mingw64tdm --with-local-prefix=/mingw64tdm --with-pkgversion=tdm64-1 --with-bugurl=http://tdm-gcc.tdragon.net/bugs
    Thread model: posix
    gcc version 5.1.0 (tdm64-1)
    
    h:\gopath\src\github.com\mimameidr>go env
    
    set GOARCH=amd64
    set GOBIN=H:\gopath\bin\
    set GOEXE=.exe
    set GOHOSTARCH=amd64
    set GOHOSTOS=windows
    set GOOS=windows
    set GOPATH=H:\gopath\
    set GORACE=
    set GOROOT=H:\Go
    set GOTOOLDIR=H:\Go\pkg\tool\windows_amd64
    set CC=gcc
    set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 -fdebug-prefix-map=C:\Users\hunte\AppData\Local\Temp\go-build020369026=/tmp/go-build -gno-record-gcc-switches
    set CXX=g++
    set CGO_ENABLED=1
    
    opened by zet4 6
Owner
Yoshiki Shibukawa
Yoshiki Shibukawa
Native Go (golang) Graphical Interface system (2D and 3D), built on GoKi tree framework

GoGi is part of the GoKi Go language (golang) full strength tree structure system (ki = 木 = tree in Japanese) package gi is a scenegraph-based 2D and

GoKi 1.1k Nov 24, 2022
Tiny cross-platform webview library for C/C++/Golang. Uses WebKit (Gtk/Cocoa) and Edge (Windows)

webview A tiny cross-platform webview library for C/C++/Golang to build modern cross-platform GUIs. Also, there are Rust bindings, Python bindings, Ni

webview 10.7k Nov 23, 2022
Golang bindings of Sciter: the Embeddable HTML/CSS/script engine for modern UI development

Go bindings for Sciter Check this page for other language bindings (Delphi / D / Go / .NET / Python / Rust). Attention The ownership of project is tra

Terra Informatica Software, Inc 2.5k Nov 18, 2022
Qt binding for Go (Golang) with support for Windows / macOS / Linux / FreeBSD / Android / iOS / Sailfish OS / Raspberry Pi / AsteroidOS / Ubuntu Touch / JavaScript / WebAssembly

Introduction Qt is a free and open-source widget toolkit for creating graphical user interfaces as well as cross-platform applications that run on var

null 9.5k Nov 22, 2022
A Go (golang) Custom Flutter Engine Embedder for desktop

Go Flutter desktop embedder ⚠️ Warning: this project has been moved to its own organization. Please take a look at its new location: github.com/go-flu

Pierre Champion | Drakirus 96 Jul 23, 2022
Qt binding for Go (Golang) aims get Go's compile speed again.

qt.go Qt5 binding for Go (Golang) without CGO that aims to achieve Go's native compile speeds. Instead of using common bindings and heavy C++ wrapper

yatsen1 533 Nov 15, 2022
Windows GUI library for Go (Golang). Comes with a graphical UI designer.

Version 2 Please go to Version 2 of this library for the latest version. Windows GUI Library This is a pure Go library to create native Windows GUIs.

null 154 Nov 1, 2022
Zenity dialogs for Golang, Windows, macOS

Zenity dialogs for Golang, Windows and macOS This repo includes both a cross-platform Go package providing Zenity-like dialogs (simple dialogs that in

Nuno Cruces 369 Nov 19, 2022
Cross platform rapid GUI framework for golang based on Dear ImGui.

giu Cross platform rapid GUI framework for golang based on Dear ImGui and the great golang binding imgui-go. Any contribution (features, widgets, tuto

Allen Dang 1.6k Nov 20, 2022
百度网盘不限速客户端, golang + qt5, 跨平台图形界面

pan-light _ _ _ _ | (_) | | | | _ __ __ _ _ __ | |_ __ _| |__ | |_ | '_ \ / _` |

null 11.8k Nov 18, 2022