diff options
author | bd <bdunahu@operationnull.com> | 2025-05-24 18:50:01 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-05-24 18:50:01 -0400 |
commit | 2190d18d8d58f867927126829e7c0d7ef6fac372 (patch) | |
tree | 1dd88af4374a9105ef2c723c43a68a0fd67e390f /scenes/ui_option.tscn | |
parent | c38a303aad3c3c0d8114524e664da6ad721e21c4 (diff) |
Add UI panel which displays actions/upgrades
Diffstat (limited to 'scenes/ui_option.tscn')
-rw-r--r-- | scenes/ui_option.tscn | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/scenes/ui_option.tscn b/scenes/ui_option.tscn new file mode 100644 index 0000000..d89e8cd --- /dev/null +++ b/scenes/ui_option.tscn @@ -0,0 +1,34 @@ +[gd_scene load_steps=3 format=3 uid="uid://edgs77gubcl8"] + +[ext_resource type="Script" uid="uid://do8a8uq1jvs7b" path="res://scripts/ui_panel.gd" id="1_c3u8h"] + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_sv14y"] +bg_color = Color(0, 0.00526825, 0.379014, 1) + +[node name="UIOption" type="Panel"] +custom_minimum_size = Vector2(16, 16) +offset_right = 24.0 +offset_bottom = 16.0 +size_flags_horizontal = 3 +theme_override_styles/panel = SubResource("StyleBoxFlat_sv14y") +script = ExtResource("1_c3u8h") + +[node name="HBoxContainer" type="HBoxContainer" parent="."] +layout_mode = 0 +offset_right = 16.0 +offset_bottom = 17.0 + +[node name="Texture" type="TextureRect" parent="HBoxContainer"] +layout_mode = 2 + +[node name="VBoxContainer" type="VBoxContainer" parent="HBoxContainer"] +layout_mode = 2 +theme_override_constants/separation = -3 + +[node name="Label" type="Label" parent="HBoxContainer/VBoxContainer"] +layout_mode = 2 +theme_override_font_sizes/font_size = 8 + +[node name="Label2" type="Label" parent="HBoxContainer/VBoxContainer"] +layout_mode = 2 +theme_override_font_sizes/font_size = 8 |