Page 1 of 1

[Closed] Any good UI maintained library?

Posted: Wed May 22, 2024 1:03 pm
by GVovkiv
TL;DR
If someone found this via google, try YUI, https://codeberg.org/1414codeforge/yui, might work for you.

Is there any good maintained UI library that has support for keyboard/gamepad?

* I don't have for need something that super complex (like having color picker, advanced animations, etc);
* I want to be able to easily add support for gamepad/keyboard (so UI that centered entierly around mouse is not something that I looking for);
* something that at least semi-maintained (I saw there bunch of 5 years and older libraries that even wasn't updated to *new* love color range 0-1 from 0-255 - thats not codebases that I want to try dig into...);
* I might want non-immediate UI (because I tested bunch of this kind of libraries and they tend to be more resource demanding, and trying to optimize those is PITA);
* something that doesn't require dealing with compilation of C code and FFI (there bunch of libraries like this, like ImGui wrapper or love-nuklear)

After spending more time with Godot, I was quite impressed with it: adding keyboard/gamepad support is easy, there bounch of different containers and widgets for game and progrmas needs, nice theming support.
I have some ideas about writing UI library (or, at least, some kind of "proof of concept") that can accomplish some of this tasks, but I feel like this might be too much for me.
So, before even attempting this, I need to make sure that I didn't missed UI library that might suit me.

Re: Any good UI maintained library?

Posted: Wed May 22, 2024 3:12 pm
by dusoft
Something from here? I am sure you know about the resource - and you are right, many seem to be abandoned.
https://github.com/love2d-community/awe ... ov-file#ui

Inky seems to fulfill your requirements and the latest commit was two months ago:
https://github.com/Keyslam/Inky

Re: Any good UI maintained library?

Posted: Wed May 22, 2024 3:14 pm
by GVovkiv
dusoft wrote: Wed May 22, 2024 3:12 pm Something from here?
Yeah, I saw that one
Most of libraries here are dead or they are mouse "hardcoded", so adding something like gamepad support will be painful..
Inky seems to fulfill your requirements and the latest commit was two months ago:
https://github.com/Keyslam/Inky
Might work, need to check out

Re: Any good UI maintained library?

Posted: Thu May 23, 2024 5:46 am
by togFox
Inky and Slab come to mind. They are probably mouse focused.

Refreeze has an input text module but he's not on this forum any more. I consider that abandoned but the code works fine.

Re: Any good UI maintained library?

Posted: Thu May 23, 2024 1:08 pm
by pgimeno

Re: Any good UI maintained library?

Posted: Thu May 23, 2024 4:10 pm
by GVovkiv
togFox wrote: Thu May 23, 2024 5:46 am Slab come to mind. They are probably mouse focused.
Slab is very resource-intense, sadly, tho looks quite nice

Re: Any good UI maintained library?

Posted: Thu May 23, 2024 7:28 pm
by GVovkiv
pgimeno wrote: Thu May 23, 2024 1:08 pm See also viewtopic.php?t=93667
Actually, this one seems to work for me, thanks!