From 0f518727c28d3204415db14c7ca0e4f7cb653677 Mon Sep 17 00:00:00 2001 From: jacopograndi Date: Thu, 9 Dec 2021 00:52:59 +0100 Subject: working --- .../controls/voxel_button/voxel_button.tscn | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 addons/voxel-core/controls/voxel_button/voxel_button.tscn (limited to 'addons/voxel-core/controls/voxel_button/voxel_button.tscn') diff --git a/addons/voxel-core/controls/voxel_button/voxel_button.tscn b/addons/voxel-core/controls/voxel_button/voxel_button.tscn new file mode 100644 index 0000000..d37b44d --- /dev/null +++ b/addons/voxel-core/controls/voxel_button/voxel_button.tscn @@ -0,0 +1,37 @@ +[gd_scene load_steps=2 format=2] + +[ext_resource path="res://addons/voxel-core/controls/voxel_button/voxel_button.gd" type="Script" id=1] + +[node name="VoxelButton" type="Button"] +anchor_right = 0.03125 +anchor_bottom = 0.0533333 +rect_min_size = Vector2( 32, 32 ) +mouse_default_cursor_shape = 2 +script = ExtResource( 1 ) +__meta__ = { +"_edit_use_anchors_": true +} + +[node name="VoxelColor" type="ColorRect" parent="."] +anchor_right = 1.0 +anchor_bottom = 1.0 +margin_left = 4.0 +margin_top = 4.0 +margin_right = -4.0 +margin_bottom = -4.0 +focus_mode = 2 +mouse_filter = 2 +color = Color( 0, 0, 0, 1 ) +__meta__ = { +"_edit_use_anchors_": true +} + +[node name="VoxelTexture" type="TextureRect" parent="VoxelColor"] +anchor_right = 1.0 +anchor_bottom = 1.0 +mouse_filter = 2 +expand = true +stretch_mode = 1 +__meta__ = { +"_edit_use_anchors_": false +} -- cgit v1.2.3-54-g00ecf