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

Add accessors for some style fields and window background #54

Closed jkvatne closed 6 years ago

jkvatne commented 6 years ago

Changing font colors can now be done with either of theese methods: *winInfo.Ctx.Style().Text().Color() = gui.Black nk.NkStylePushColor(winInfo.Ctx, winInfo.Ctx.Style().Text().Color(), gui.Cyan)

A function to set a window's background color has also been added