suit
suit copied to clipboard
Immediate Mode GUI library for LÖVE
I don't know how to describe this, but the bug is here: https://github.com/vrld/suit/blob/17677826030a7270b474c5717af43834d583094c/theme.lua#L136-L139 This bug will cause the application to crash when the first codepoint of candidate text (IME) is...
I'm currently writing an immediate mode gui library just like this one for a specific purpose and I found your library is a great ressource for ideas on how to...
I'm looking at using SUIT, but I am wondering how I might do scrolling lists and comboboxes? I can't seem to find any examples of such a thing using SUIT....
Problem: Slider (Vertical) appears completely horizontal. Fix: slider.lua and theme.lua both set the slider for a special vertical case if "vertical" is in the opt table when calling the slider...
Vertical sliders have to be accessed within the opt.id table, not just opt. Made modifications to slider.lua and theme.lua.
Sliders don't respect their `info.step` when dragged by the mouse. The first new line rounds `value` to the nearest step. The second new line also rounds `fraction` to the nearest...
Seems assignments of setActive and setHovered were kinda wrong. For my use-case this was problematic. I wanted to set hovered property programmatically for control input in menus. When using a...
I've found the issue when I tried to install `luarocks install suit` `Error: /private/tmp/luarocks_luarocks-rockspec-suit-0.1-1-5083/suit-0.1-1.rockspec: Unknown field 1` This rockspec https://luarocks.org/manifests/vrld/suit-0.1-1.rockspec is not the same as in github repo luarocks version:...
These were not implemented correctly. Works now as long as you set them before creating the widgets in update(), something like: ``` lua local suit = require('suit') function love.update() suit.setHovered("Button...
-- keyboard update local key_up = opt.vertical and 'up' or 'right' local key_down = opt.vertical and 'down' or 'left' if core:getPressedKey() == key_up then info.value = math.min(info.max, info.value + info.step)...