Oops, missed the UI library.
This commit is contained in:
14
lib/ui.ks
Normal file
14
lib/ui.ks
Normal file
@ -0,0 +1,14 @@
|
||||
|
||||
function makeRow {
|
||||
parameter p.
|
||||
return p:AddHLayout().
|
||||
}
|
||||
|
||||
function makeButton {
|
||||
parameter p.
|
||||
parameter l.
|
||||
parameter f.
|
||||
local b is p:AddButton(l).
|
||||
set b:onClick to f.
|
||||
return b.
|
||||
}
|
Reference in New Issue
Block a user