summaryrefslogtreecommitdiff
path: root/ui/bmp_texture_rect.gd
diff options
context:
space:
mode:
Diffstat (limited to 'ui/bmp_texture_rect.gd')
-rw-r--r--ui/bmp_texture_rect.gd6
1 files changed, 6 insertions, 0 deletions
diff --git a/ui/bmp_texture_rect.gd b/ui/bmp_texture_rect.gd
new file mode 100644
index 0000000..0925efb
--- /dev/null
+++ b/ui/bmp_texture_rect.gd
@@ -0,0 +1,6 @@
+extends TextureRect
+
+
+
+func _ready() -> void:
+ texture = BMPTexture.from_texture(texture, [Color.MAGENTA])