Page 1 of 1

LoveFrames library question

Posted: Sun Jul 02, 2023 12:36 pm
by tourgen
I've been playing around with Loveframes lately. It seems alright. I have a few questions.

Is it still being actively worked on?

Is there a method to determine the active (focused) UI element? I would like to implement a right-click-to-close function for the top-most frame (window) in my system.

I've tried using colored text in the loveframes text UI element but it doesn't seem to do anything. It appears to use the same system as Love2D colored text (a table with RGB table and a text string).
ex: my_text_element:SetText( {color={1.0,0,0},"buy price"} )

Are people typically using some other GUI for their Love2D projects?

I've used both Nuklear and IMGUI in the past with C/C++ projects. They're nice systems but I would like to use a stateful/persistent UI system with this Love2D project I'm working on instead of an immediate-mode UI system.

Re: LoveFrames library question

Posted: Sun Jul 02, 2023 2:06 pm
by tourgen
just realized I posted this in the wrong forum. sorry. should have been in the libraries forum.

Re: LoveFrames library question

Posted: Mon Jul 03, 2023 9:37 am
by pgimeno
I dont have answers, but I think this forum is alright. Creating threads in the libraries forum just to ask questions is kind of frowned upon. But asking in the thread dedicated to a library, in this case one of the loveframes threads, would work too.

Just one thing. I'd suggest you to stay away from libraries that require processor-specific binaries like Nuklear and IMGUI, and restrict yourself to pure Lua GUI libraries, if only to keep system version compatibility and cross-system support. Few Löve users are willing to compile their own libraries from source to avoid these issues.