andlabs / ui

Platform-native GUI library for Go.
Other
8.33k stars 652 forks source link

Added direct link to GoDoc and specified a range of values for the co… #381

Closed fiwippi closed 3 years ago

fiwippi commented 4 years ago

…lour button inputs and outputs

Hey, when using ui I thought it would be easier to add a direct link to the ui GoDocs since funnily enough the GoDocs are accessible from the libui repo but not from the ui one.

Also, when using colour buttons I found it confusing since the documentation specifies rgb values which may imply that they are in the range 0 to 255. However, they are in the range 0 to 1. Just wanted to clear that bit of confusion for future users.

Thanks for making ui.