From 8c0c1227e9c981b61c36ad83749ca8162442c870 Mon Sep 17 00:00:00 2001 From: annabunches Date: Sun, 1 Aug 2021 21:34:14 -0400 Subject: [PATCH] Oops, missed the UI library. --- lib/ui.ks | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 lib/ui.ks diff --git a/lib/ui.ks b/lib/ui.ks new file mode 100644 index 0000000..15232c0 --- /dev/null +++ b/lib/ui.ks @@ -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. +}