summaryrefslogtreecommitdiffhomepage
path: root/app/lib/components/02_label.rb
diff options
context:
space:
mode:
author_Tradam <[email protected]>2021-05-26 02:12:54 -0400
committerGitHub <[email protected]>2021-05-26 02:12:54 -0400
commit41f574c04c70e6327cb1861fac01664bd3f3f7ba (patch)
tree34a184ff4fd182a8823f416fd87b4d546e1e250f /app/lib/components/02_label.rb
parentf97a9ca95e464e728bba9337b579bc380c33bc7d (diff)
parenta5bbcbf5d78005746fb64c51a779f830d7667a57 (diff)
downloadtypemon-code-master.tar.gz
typemon-code-master.zip
Merge pull request #1 from realtradam/reworkHEADmaster
split off FelFlame
Diffstat (limited to 'app/lib/components/02_label.rb')
-rw-r--r--app/lib/components/02_label.rb27
1 files changed, 0 insertions, 27 deletions
diff --git a/app/lib/components/02_label.rb b/app/lib/components/02_label.rb
deleted file mode 100644
index 13544b7..0000000
--- a/app/lib/components/02_label.rb
+++ /dev/null
@@ -1,27 +0,0 @@
-class Components
- # A dragonruby label wrapper
- class Label < Helper::BaseComponent
-
- attr_accessor :x, :y, :text, :size_enum, :alignment_enum,
- :a, :r, :g, :b, :font, :vertical_alignment_enum
-
- def set(x: @x, y: @y, text: @text, size_enum: @size_enum, alignment_enum: @alignment_enum,
- a: @a, r: @r, g: @g, b: @b, font: @font, vertical_alignment_enum: @vertical_alignment_enum)
- {x: @x = x,
- y: @y = y,
- text: @text = text,
- size_enum: @size_enum = size_enum,
- alignment_enum: @alignment_enum = alignment_enum,
- r: @r = r,
- g: @g = g,
- b: @b = b,
- a: @a = a,
- font: @font = font,
- vertical_alignment_enum: @vertical_alignment_enum = vertical_alignment_enum }
- end
-
- def primative_marker
- :label
- end
- end
-end