raylib-go icon indicating copy to clipboard operation
raylib-go copied to clipboard

raygui.TextBox problems

Open D3nX opened this issue 7 years ago • 4 comments

I've found 2 problems with raygui.TextBox :

  1. 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
  2. (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

D3nX avatar May 06 '18 15:05 D3nX

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.

gen2brain avatar May 07 '18 17:05 gen2brain

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.

raysan5 avatar May 07 '18 17:05 raysan5

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.

raysan5 avatar Oct 23 '18 16:10 raysan5

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.

gen2brain avatar Oct 23 '18 16:10 gen2brain

Closed in favor of https://github.com/gen2brain/raylib-go/issues/197.

gen2brain avatar Aug 27 '22 15:08 gen2brain