raylib-go
raylib-go copied to clipboard
raygui.TextBox problems
I've found 2 problems with raygui.TextBox :
- The golang function argument does not check with C version (two argument needed "freeEdit" & "textSize") : -> C version : bool GuiTextBox(Rectangle bounds, char *text, int textSize, bool freeEdit); -> Go version : func TextBox(bounds raylib.Rectangle, text string) string
- (On my computer, maybe on you too) Unnable to use backspace to delete character, work not.
Hope you l'ill fix soon, I really need these bug fix for my game :D
Whole raygui needs to be updated, I don't have time to do that currently, will need to go through all changes, not just particular one.
Just note that raygui has changed substantially, even bumped version to 2.0. Still some controls (GuiScrollBar, GuiTextBoxMultiline) are under development.
It also depends now on raylib 2.0-dev.
Better close this issue... raygui has been greatly updated again and GuiTextBox() completely redesigned.
We're working on tools development and raygui is our ui system, consequently, it's being updated regularly.
I keep it more as a reminder. I know there are a lot of changes now, if I cannot handle it I can just wrap it and call C functions like in raylib module, I wanted to avoid that at first.
Closed in favor of https://github.com/gen2brain/raylib-go/issues/197.