This repository has been archived on 2020-09-30. You can view files and clone it, but cannot push or open issues or pull requests.
odyssey-old/Actors/Objects/PowerStorage/UI/PowerUI.tscn

154 lines
3.7 KiB
Text
Raw Permalink Normal View History

2020-07-09 14:50:34 +00:00
[gd_scene load_steps=5 format=2]
2020-07-07 18:42:22 +00:00
[ext_resource path="res://Actors/Objects/PowerStorage/UI/PowerUI.gd" type="Script" id=1]
[ext_resource path="res://Graphics/UI/ui-popup-panel.png" type="Texture" id=2]
2020-07-09 14:50:34 +00:00
[ext_resource path="res://Graphics/UI/ui_theme.tres" type="Theme" id=3]
2020-07-07 18:42:22 +00:00
[ext_resource path="res://Graphics/unshaded_mat.tres" type="Material" id=4]
[node name="PowerUI" type="Control"]
material = ExtResource( 4 )
2020-07-09 14:50:34 +00:00
margin_left = -110.0
margin_top = -160.0
margin_right = 110.0
2020-07-07 18:42:22 +00:00
margin_bottom = -20.0
mouse_filter = 1
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="TextureRect" type="TextureRect" parent="."]
material = ExtResource( 4 )
anchor_left = 0.5
2020-07-09 14:50:34 +00:00
anchor_top = 1.0
2020-07-07 18:42:22 +00:00
anchor_right = 0.5
2020-07-09 14:50:34 +00:00
anchor_bottom = 1.0
2020-07-07 18:42:22 +00:00
margin_left = -8.0
2020-07-09 14:50:34 +00:00
margin_top = -18.0
2020-07-07 18:42:22 +00:00
margin_right = 8.27014
2020-07-09 14:50:34 +00:00
margin_bottom = 14.182
2020-07-07 18:42:22 +00:00
texture = ExtResource( 2 )
stretch_mode = 3
__meta__ = {
"_edit_use_anchors_": false
}
[node name="NinePatchRect" type="NinePatchRect" parent="."]
material = ExtResource( 4 )
anchor_right = 1.0
anchor_bottom = 1.0
2020-07-09 14:50:34 +00:00
mouse_filter = 1
2020-07-07 18:42:22 +00:00
texture = ExtResource( 2 )
region_rect = Rect2( 0, 0, 16, 16 )
patch_margin_left = 4
patch_margin_top = 4
patch_margin_right = 4
patch_margin_bottom = 5
axis_stretch_horizontal = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Container" type="VBoxContainer" parent="."]
material = ExtResource( 4 )
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 10.0
margin_top = 10.0
margin_right = -10.0
margin_bottom = -10.0
size_flags_horizontal = 3
size_flags_vertical = 3
custom_constants/separation = 20
__meta__ = {
"_edit_use_anchors_": false
}
2020-07-09 14:50:34 +00:00
[node name="CurrentBox" type="VBoxContainer" parent="Container"]
2020-07-10 00:09:54 +00:00
material = ExtResource( 4 )
2020-07-09 14:50:34 +00:00
margin_right = 200.0
margin_bottom = 40.0
[node name="HBoxContainer" type="HBoxContainer" parent="Container/CurrentBox"]
2020-07-10 00:09:54 +00:00
material = ExtResource( 4 )
2020-07-09 14:50:34 +00:00
margin_right = 200.0
margin_bottom = 18.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="Container/CurrentBox/HBoxContainer"]
2020-07-10 00:09:54 +00:00
material = ExtResource( 4 )
2020-07-09 14:50:34 +00:00
margin_right = 102.0
margin_bottom = 18.0
mouse_filter = 1
theme = ExtResource( 3 )
text = "Current charge"
[node name="CurrentChargeLabel" type="Label" parent="Container/CurrentBox/HBoxContainer"]
2020-07-10 00:09:54 +00:00
material = ExtResource( 4 )
2020-07-09 14:50:34 +00:00
margin_left = 106.0
margin_right = 106.0
margin_bottom = 18.0
mouse_filter = 1
theme = ExtResource( 3 )
[node name="ProgressBar" type="ProgressBar" parent="Container/CurrentBox"]
2020-07-10 00:09:54 +00:00
material = ExtResource( 4 )
2020-07-09 14:50:34 +00:00
margin_top = 22.0
margin_right = 200.0
margin_bottom = 40.0
mouse_filter = 1
size_flags_horizontal = 3
size_flags_vertical = 3
theme = ExtResource( 3 )
[node name="ChargeBox" type="GridContainer" parent="Container"]
2020-07-10 00:09:54 +00:00
material = ExtResource( 4 )
2020-07-09 14:50:34 +00:00
margin_top = 60.0
margin_right = 200.0
margin_bottom = 120.0
size_flags_horizontal = 3
size_flags_vertical = 3
columns = 2
[node name="Charge rate" type="Label" parent="Container/ChargeBox"]
2020-07-10 00:09:54 +00:00
material = ExtResource( 4 )
2020-07-09 14:50:34 +00:00
margin_top = 5.0
margin_right = 84.0
margin_bottom = 23.0
mouse_filter = 1
theme = ExtResource( 3 )
text = "Limit charge"
[node name="SpinBox" type="SpinBox" parent="Container/ChargeBox"]
2020-07-10 00:09:54 +00:00
material = ExtResource( 4 )
2020-07-09 14:50:34 +00:00
margin_left = 88.0
margin_right = 186.0
margin_bottom = 28.0
mouse_filter = 1
theme = ExtResource( 3 )
max_value = 200.0
suffix = "W"
[node name="Discharge" type="Label" parent="Container/ChargeBox"]
2020-07-10 00:09:54 +00:00
material = ExtResource( 4 )
2020-07-09 14:50:34 +00:00
margin_top = 37.0
margin_right = 84.0
margin_bottom = 55.0
mouse_filter = 1
theme = ExtResource( 3 )
text = "Limit output"
[node name="SpinBox2" type="SpinBox" parent="Container/ChargeBox"]
2020-07-10 00:09:54 +00:00
material = ExtResource( 4 )
2020-07-09 14:50:34 +00:00
margin_left = 88.0
margin_top = 32.0
margin_right = 186.0
margin_bottom = 60.0
mouse_filter = 1
theme = ExtResource( 3 )
max_value = 200.0
value = 200.0
suffix = "W"