summaryrefslogtreecommitdiffhomepage
path: root/app/components/label.rb
diff options
context:
space:
mode:
authorarngo <[email protected]>2021-12-26 22:30:44 -0500
committerarngo <[email protected]>2021-12-26 22:30:44 -0500
commit930802e49e33c87ef0fd2f102b9205a4098878d3 (patch)
tree56cbf22ebbb4b16ac037eb2f525ca15d5656b96f /app/components/label.rb
parent70b2499a8753331b68fb7a61a8882c9ff0b017d8 (diff)
downloadSteelWings-930802e49e33c87ef0fd2f102b9205a4098878d3.tar.gz
SteelWings-930802e49e33c87ef0fd2f102b9205a4098878d3.zip
implement score ui
Diffstat (limited to 'app/components/label.rb')
-rw-r--r--app/components/label.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/components/label.rb b/app/components/label.rb
new file mode 100644
index 0000000..25b5529
--- /dev/null
+++ b/app/components/label.rb
@@ -0,0 +1,13 @@
+FF::Cmp.new("Label", props: {
+ x: 0,
+ y: 0,
+ text: 'label',
+ size_enum: 2,
+ alignment_enum: 1,
+ r: 255,
+ g: 255,
+ b: 255,
+ a: 255,
+ font: "font.ttf",
+ vertical_alignment_enum: 0
+})