help with Chili.Editbox in 100
Moderator: Moderators
help with Chili.Editbox in 100
I also don't seem to be able to make my editboxes work on Spring 100, has anyone found a solution about this problem?
- Silentwings
- Posts: 3720
- Joined: 25 Oct 2008, 00:23
Re: KeyPress signature
No obvious relation to the 2 year old thread you've necroed (viewtopic.php?f=23&t=32013), split.
I think you'll need to give more details of the problem you're having before anyone can help.
I think you'll need to give more details of the problem you're having before anyone can help.
Re: help with Chili.Editbox in 100
IIRC the issue is that the engine's widgethandler lacks a TextInput callin. It has been fixed in later versions and in games with their own handler.
Re: help with Chili.Editbox in 100
It seems to me you're using a custom widget handler (which you probably shouldn't imo). In that case, see https://github.com/ZeroK-RTS/Zero-K/pull/647
Re: help with Chili.Editbox in 100
The problem is that when I try to type text in an editbox, nothing is typed. I thought it was related with the changes in the KeyPress signature, so that's why I posted a message on the aforementioned thread. Sorry for that.
I'm currently using the engine as downloaded from the website, without any custom widget handler. From there, I manually added the TextInput callin using gajop's link, and it seems to work now. Thank you for your help.
I'm currently using the engine as downloaded from the website, without any custom widget handler. From there, I manually added the TextInput callin using gajop's link, and it seems to work now. Thank you for your help.
Re: help with Chili.Editbox in 100
The newest engine should definitely work. Maybe you're using an old chili framework or you haven't updated your api_chili.lua
Re: help with Chili.Editbox in 100
Well, I installed it using the windows installer found here : https://springrts.com/wiki/Download and I can assure you that the TextInput callin was not in the widgets.lua and main.lua files. Don't know if I did something wrong (since I used two different versions of Spring on the same computer), but this happened to me.
- Silentwings
- Posts: 3720
- Joined: 25 Oct 2008, 00:23
Re: help with Chili.Editbox in 100
It's a mystery to me why the installer-created LuaUI dir contains a (stand-alone) WH, but it does and iirc the dir is https://github.com/spring/spring/tree/d ... cont/LuaUI, and its easy to see that it does contain widget:TextInput.
So afaics your description of your install process is wrong, or possibly (but I can't imagine how) you've managed to get a conflict with some older installation.
So afaics your description of your install process is wrong, or possibly (but I can't imagine how) you've managed to get a conflict with some older installation.
Re: help with Chili.Editbox in 100
No, as I said, it doesn't contain Textinput.
https://github.com/spring/spring/commit ... 58a356ba26 was only applied post 100.0 and Zigaroula is using 100.0
https://github.com/spring/spring/commit ... 58a356ba26 was only applied post 100.0 and Zigaroula is using 100.0
- Silentwings
- Posts: 3720
- Joined: 25 Oct 2008, 00:23
Re: help with Chili.Editbox in 100
Oh, surprised to discover the downloads page is offering 100.