Page 1 of 1

Add listbox gui element

Posted: Sat Jul 15, 2017 3:23 pm
by kumpu
This already exists in the game but can't be used in mods, which is a shame. Please add it, nothing more to say here :D

Re: Add listbox gui element

Posted: Sat Jul 15, 2017 5:33 pm
by kumpu
If anyone is interested, I was able to achieve the desired result by abusing buttons.
I still think this should be added.

Re: Add listbox gui element

Posted: Sat Jul 15, 2017 7:29 pm
by Mooncat
For the image, you probably just need 3 pixels with 3 different colors.

If listbox element is implemented, it will be great if it optionally supports shift and ctrl operations like the ones in my Creative Mode:
Image
The current implementation is far from generic, so it is not easy to use it for another mod.

Re: Add listbox gui element

Posted: Sat Jul 15, 2017 9:42 pm
by kumpu
Oh that's kinda neat. You should make it generic and get it included into stdlib!