golang-ui / nuklear

This project provides Go bindings for nuklear.h — a small ANSI C GUI library.

Home Page:https://github.com/vurtun/nuklear

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

prefix & docs

jfcg opened this issue · comments

Hi again,

  • Many functions keep their redundant Nk prefix (like NkBegin). Using nk.Begin() in Go looks better instead of nk.NkBegin ;)
  • nuklear.h documentation could be copied to Go bindings, since that library is very well documented.

Hi! Thanks for the feedback.

Nk prefix left only for function calls, to avoid collision with types which are named the same in many cases.

Documentation cannot be copied as comments are not being analyzed, instead we have a reference to original line in header, so the documentation can be reached in 2 hops.