Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
thanks. i notice it also has this ":" thingy which was in @n1cke 's library and which seemed very alien to lua and to me. i'm not sure i even understand what happens there.
i notice it also has this ":" thingy which was in @n1cke 's library and which seemed very alien to lua and to me. i'm not sure i even understand what happens there.
local layout = Layout.new()
:relSize(100,100)
:cols()
:childs{...}
Same as
local layout = Layout.new()
layout:relSize(100,100)
layout:cols()
layout:childs{...}
The difference is that in a second variant you need to type instance name every time when you want to call its method.
I was talking about your layout system (cf your initial post). As far as I understand when you resize the window of your app all the elements adapt. So it's only for desktop apps?
It should be added in the main distro as a built-in Lua plugin when finished.
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
Comments
https://deluxepixel.com
i notice it also has this ":" thingy which was in @n1cke 's library and which seemed very alien to lua and to me. i'm not sure i even understand what happens there.
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Likes: antix
and in the plugin code you just need to add that any function of the class returns the object (self)?
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Its possible now to add SUI component using "child" (or "childs") method like this:
Likes: MoKaLux
As far as I understand when you resize the window of your app all the elements adapt.
So it's only for desktop apps?
-- add resize listener with code:
Likes: MoKaLux
It is now even more simplier, I guess.
Its completely missing touch control and there is a few bugs, so Im not going to publish it yet.
P.S. sorry for the music, I picked a random mix from my playlist xd
Likes: keszegh, talis, MoKaLux
It should be added in the main distro as a built-in Lua plugin when finished.
https://deluxepixel.com