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/Computer/UI/EnergyComp.tscn

188 lines
4.7 KiB
Text
Raw Permalink Normal View History

2020-07-20 09:15:39 +00:00
[gd_scene load_steps=5 format=2]
[ext_resource path="res://Actors/Objects/Computer/UI/EnergyComp.gd" type="Script" id=1]
[ext_resource path="res://Graphics/UI/ui-popup-panel.png" type="Texture" id=2]
[ext_resource path="res://Graphics/UI/ui_theme.tres" type="Theme" id=3]
[ext_resource path="res://Graphics/unshaded_mat.tres" type="Material" id=4]
[node name="EnergyComp" type="Control"]
material = ExtResource( 4 )
margin_left = -157.0
margin_top = -144.0
margin_right = 156.0
margin_bottom = -20.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 1
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="TextureRect" type="TextureRect" parent="."]
material = ExtResource( 4 )
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
margin_left = -8.0
margin_top = -16.5409
margin_right = 8.27014
margin_bottom = 15.4881
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
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="Margin" type="MarginContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 10.0
margin_top = 10.0
margin_right = -10.0
margin_bottom = -10.0
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 3
size_flags_vertical = 3
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Container" type="VBoxContainer" parent="Margin"]
material = ExtResource( 4 )
margin_right = 293.0
margin_bottom = 104.0
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 3
size_flags_vertical = 3
custom_constants/separation = 10
__meta__ = {
"_edit_use_anchors_": false
}
[node name="EnergyBox" type="VBoxContainer" parent="Margin/Container"]
material = ExtResource( 4 )
margin_right = 293.0
margin_bottom = 104.0
size_flags_horizontal = 3
size_flags_vertical = 3
alignment = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="CurrentSource" type="HBoxContainer" parent="Margin/Container/EnergyBox"]
margin_top = 21.0
margin_right = 293.0
margin_bottom = 39.0
custom_constants/separation = 10
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="Margin/Container/EnergyBox/CurrentSource"]
material = ExtResource( 4 )
margin_right = 106.0
margin_bottom = 18.0
mouse_filter = 1
theme = ExtResource( 3 )
text = "Available power"
[node name="Value" type="Label" parent="Margin/Container/EnergyBox/CurrentSource"]
material = ExtResource( 4 )
margin_left = 116.0
margin_right = 293.0
margin_bottom = 18.0
mouse_filter = 1
size_flags_horizontal = 3
theme = ExtResource( 3 )
custom_colors/font_color = Color( 0.494118, 0.52549, 0.737255, 1 )
text = "2A.01/10"
align = 2
[node name="CurrentSink" type="HBoxContainer" parent="Margin/Container/EnergyBox"]
margin_top = 43.0
margin_right = 293.0
margin_bottom = 61.0
custom_constants/separation = 10
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="Margin/Container/EnergyBox/CurrentSink"]
material = ExtResource( 4 )
margin_right = 130.0
margin_bottom = 18.0
mouse_filter = 1
theme = ExtResource( 3 )
text = "Current power load"
[node name="Value" type="Label" parent="Margin/Container/EnergyBox/CurrentSink"]
material = ExtResource( 4 )
margin_left = 140.0
margin_right = 293.0
margin_bottom = 18.0
mouse_filter = 1
size_flags_horizontal = 3
theme = ExtResource( 3 )
custom_colors/font_color = Color( 0.494118, 0.52549, 0.737255, 1 )
text = "0A.00/00"
align = 2
[node name="CurrentAlerts" type="HBoxContainer" parent="Margin/Container/EnergyBox"]
margin_top = 65.0
margin_right = 293.0
margin_bottom = 83.0
custom_constants/separation = 10
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="Margin/Container/EnergyBox/CurrentAlerts"]
material = ExtResource( 4 )
margin_right = 130.0
margin_bottom = 18.0
mouse_filter = 1
theme = ExtResource( 3 )
text = "Unpowered devices"
[node name="Value" type="Label" parent="Margin/Container/EnergyBox/CurrentAlerts"]
material = ExtResource( 4 )
margin_left = 140.0
margin_right = 293.0
margin_bottom = 18.0
mouse_filter = 1
size_flags_horizontal = 3
theme = ExtResource( 3 )
custom_colors/font_color = Color( 0.494118, 0.52549, 0.737255, 1 )
text = "0A.00/00"
align = 2
[node name="Button" type="Button" parent="Margin/Container"]
visible = false
material = ExtResource( 4 )
margin_top = 80.0
margin_right = 293.0
margin_bottom = 104.0
theme = ExtResource( 3 )
text = "Open usage monitor"
[connection signal="pressed" from="Margin/Container/Button" to="." method="_map_button_pressed"]