Search found 16 matches

by 1414codeforge
Sun Jan 14, 2024 5:37 pm
Forum: Libraries and Tools
Topic: yui - declarative GUI library for LÖVE
Replies: 16
Views: 90137

Re: yui - declarative GUI library for LÖVE

Hello, about question 1, widget by iteration, in theory you could create a function returning the appropriate widget array, and then unpack it: function generateLayout() local widgets = {} for i,v in ipairs(...) do widgets[i] = ... end return widgets end return yui.Ui:new { ... unpack(generateLayout...
by 1414codeforge
Tue Nov 21, 2023 2:49 pm
Forum: Libraries and Tools
Topic: yui - declarative GUI library for LÖVE
Replies: 16
Views: 90137

Re: yui - declarative GUI library for LÖVE

So, I was able to make a custom "choiceButton" widget by copying choice widget and adding the toHit stuff from button, then changing every occurrence of "Choice" to ChoiceButton". I added it to the lib folder and added the require to the init.lua. Everything works! Nice :ul...
by 1414codeforge
Tue Nov 14, 2023 11:35 am
Forum: Libraries and Tools
Topic: yui - declarative GUI library for LÖVE
Replies: 16
Views: 90137

Re: yui - declarative GUI library for LÖVE

Depends on the subject, for general discussion and questions, the forum is the better, so more people can join the discussion and give their ideas.
For bugs and feature requests, codeberg is better, so development can be tracked more efficiently.
by 1414codeforge
Mon Nov 13, 2023 6:12 pm
Forum: Libraries and Tools
Topic: yui - declarative GUI library for LÖVE
Replies: 16
Views: 90137

Re: yui - declarative GUI library for LÖVE

Hi, glad to see Yui is being used :ultraglee: What is the best way to build a custom widget? Just copy paste code out of an existing one, and change it? Yes, I'd say that's the most straightforward way. Pick a relatively simple one (like Button, Label or Checkbox) and tweak from there. It'll help yo...
by 1414codeforge
Wed Nov 01, 2023 9:55 am
Forum: Libraries and Tools
Topic: yui - declarative GUI library for LÖVE
Replies: 16
Views: 90137

Re: yui - declarative GUI library for LÖVE

Sorry for the horribly late reply on this! We have migrated to codeberg.org precisely because gitea.it has closed public registration: https://codeberg.org/1414codeforge/yui There have been a couple of improvements on both gear and yui lately, so your issue has probably been solved, but I'm now tryi...
by 1414codeforge
Wed Nov 09, 2022 3:12 pm
Forum: Libraries and Tools
Topic: crush - LÖVE package and dependency system
Replies: 5
Views: 6501

Re: crush - LÖVE package and dependency system

Update:
Main post was updated.
by 1414codeforge
Wed Nov 09, 2022 2:54 pm
Forum: Libraries and Tools
Topic: yui - declarative GUI library for LÖVE
Replies: 16
Views: 90137

Re: yui - declarative GUI library for LÖVE

Yet another update : We now have a new home: https://codeberg.org/1414codeforge , contributing is now easier :awesome: Docs are available via ldoc Many bugfixes Customizing each widget's theme is now simpler and consistent Creating new custom widgets is less cumbersome (common drawing functions can ...
by 1414codeforge
Wed Aug 24, 2022 8:07 pm
Forum: Support and Development
Topic: No libraries are working for me :/
Replies: 4
Views: 2595

Re: No libraries are working for me :/

Could you attach the main.lua, so we can check the code out in its entirety?

Also, you mean this cron.lua library?
https://github.com/kikito/cron.lua
by 1414codeforge
Wed Aug 24, 2022 4:05 pm
Forum: Libraries and Tools
Topic: yui - declarative GUI library for LÖVE
Replies: 16
Views: 90137

Re: yui - declarative GUI library for LÖVE

Please consider https://love2d.org/forums/viewtopic.php?f=5&t=92526 too. Oh, such a nice piece of code, I wasn't aware of that, thanks! Right now yui handles basic single line input boxes. In the interest of keeping yui reasonably small I don't think that is going to change. But I could make a ...
by 1414codeforge
Thu Aug 18, 2022 9:01 am
Forum: Libraries and Tools
Topic: yui - declarative GUI library for LÖVE
Replies: 16
Views: 90137

Re: yui - declarative GUI library for LÖVE

I notice two dependencies. I'll cheek this two out a well, noting one of them doesn't have mobile friendly documentation. In the README you should find a reference to download the deps conveniently. Those libraries are general utilities I use in every one of my projects. Admittedly documentation is...