golang-ui / nuklear

This project provides Go bindings for nuklear.h — a small ANSI C GUI library.
https://github.com/vurtun/nuklear
MIT License
1.57k stars 98 forks source link

Added c-for-go tip for nk_style_from_table, etc #44

Closed xiaokangwang closed 6 years ago

xiaokangwang commented 6 years ago

Without tip nk_style_from_table, nk_stroke_polygon, nk_stroke_polyline, nk_fill_polygon generates cgo binding incorrectly. treat pointer to array as pointer to scalar.

With this bug fix merged, it could partially support style described in #8.