195 lines
6.6 KiB
Plaintext
195 lines
6.6 KiB
Plaintext
[gd_scene load_steps=17 format=3 uid="uid://db2qcx61nc0q4"]
|
|
|
|
[ext_resource type="Script" uid="uid://dkyo6dykai3fy" path="res://scenes/ui-elements/TopBar.cs" id="1_0ntnr"]
|
|
[ext_resource type="PackedScene" uid="uid://bewpqkap6epnb" path="res://scenes/ui-elements/info-block.tscn" id="1_jtpmx"]
|
|
[ext_resource type="Texture2D" uid="uid://dge24fqftcpc0" path="res://resources/UI/cash_dollars.png" id="2_krusb"]
|
|
[ext_resource type="Texture2D" uid="uid://brmchgisek2vy" path="res://res_src/fame_icon.png" id="3_udeu6"]
|
|
[ext_resource type="Texture2D" uid="uid://qaitnvq4d877" path="res://resources/UI/chip_ramdrive-1.png" id="4_udeu6"]
|
|
[ext_resource type="FontFile" uid="uid://c7ahefyipl24t" path="res://resources/Font/AlibabaPuHuiTi-3-65-Medium.ttf" id="5_m47h2"]
|
|
[ext_resource type="Texture2D" uid="uid://bfy4l227neg3u" path="res://res_src/button-normal.png" id="6_g1dje"]
|
|
[ext_resource type="Texture2D" uid="uid://bcl5e8ai5ugj7" path="res://res_src/button-press.png" id="7_whltx"]
|
|
[ext_resource type="Texture2D" uid="uid://b73wqk6nf3gtd" path="res://res_src/button-hover.png" id="8_whltx"]
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_gify7"]
|
|
bg_color = Color(0.25490198, 0.3882353, 0.54901963, 1)
|
|
border_width_left = 1
|
|
border_width_top = 1
|
|
border_width_right = 1
|
|
border_width_bottom = 1
|
|
border_color = Color(0, 0, 0, 1)
|
|
corner_radius_top_left = 6
|
|
corner_radius_top_right = 6
|
|
corner_radius_bottom_right = 6
|
|
corner_radius_bottom_left = 6
|
|
expand_margin_left = 1.0
|
|
expand_margin_top = 1.0
|
|
expand_margin_right = 1.0
|
|
expand_margin_bottom = 1.0
|
|
|
|
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_0ntnr"]
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_whltx"]
|
|
content_margin_left = 1.0
|
|
content_margin_top = 1.0
|
|
content_margin_right = 1.0
|
|
content_margin_bottom = 1.0
|
|
bg_color = Color(0.16470589, 0.23137255, 0.3019608, 1)
|
|
border_width_left = 1
|
|
border_width_top = 1
|
|
border_width_right = 1
|
|
border_width_bottom = 1
|
|
border_color = Color(0, 0, 0, 1)
|
|
corner_radius_top_left = 2
|
|
corner_radius_top_right = 2
|
|
corner_radius_bottom_right = 2
|
|
corner_radius_bottom_left = 2
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_0ntnr"]
|
|
bg_color = Color(0.8039216, 0.827451, 0.8392157, 1)
|
|
border_width_left = 1
|
|
border_width_top = 1
|
|
border_width_right = 1
|
|
border_width_bottom = 1
|
|
border_color = Color(0.8, 0.8, 0.8, 0)
|
|
corner_radius_top_left = 2
|
|
corner_radius_top_right = 2
|
|
corner_radius_bottom_right = 2
|
|
corner_radius_bottom_left = 2
|
|
|
|
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_jyumt"]
|
|
content_margin_left = 4.0
|
|
content_margin_top = 4.0
|
|
content_margin_right = 4.0
|
|
content_margin_bottom = 8.0
|
|
texture = ExtResource("6_g1dje")
|
|
texture_margin_left = 2.0
|
|
texture_margin_top = 2.0
|
|
texture_margin_right = 2.0
|
|
texture_margin_bottom = 5.0
|
|
axis_stretch_horizontal = 1
|
|
axis_stretch_vertical = 1
|
|
|
|
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_rqfvc"]
|
|
content_margin_left = 4.0
|
|
content_margin_top = 6.0
|
|
content_margin_right = 4.0
|
|
content_margin_bottom = 6.0
|
|
texture = ExtResource("7_whltx")
|
|
texture_margin_left = 2.0
|
|
texture_margin_top = 4.0
|
|
texture_margin_right = 2.0
|
|
texture_margin_bottom = 3.0
|
|
|
|
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_0ntnr"]
|
|
content_margin_left = 4.0
|
|
content_margin_top = 4.0
|
|
content_margin_right = 4.0
|
|
content_margin_bottom = 8.0
|
|
texture = ExtResource("8_whltx")
|
|
texture_margin_left = 2.0
|
|
texture_margin_top = 2.0
|
|
texture_margin_right = 2.0
|
|
texture_margin_bottom = 5.0
|
|
|
|
[node name="TopBar" type="PanelContainer"]
|
|
offset_right = 960.0
|
|
offset_bottom = 48.0
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_gify7")
|
|
script = ExtResource("1_0ntnr")
|
|
|
|
[node name="HBox" type="HBoxContainer" parent="."]
|
|
layout_mode = 2
|
|
alignment = 1
|
|
|
|
[node name="Padding" type="Panel" parent="HBox"]
|
|
custom_minimum_size = Vector2(5, 0)
|
|
layout_mode = 2
|
|
theme_override_styles/panel = SubResource("StyleBoxEmpty_0ntnr")
|
|
|
|
[node name="YearProgress" type="VBoxContainer" parent="HBox"]
|
|
layout_mode = 2
|
|
alignment = 1
|
|
|
|
[node name="Year" type="Label" parent="HBox/YearProgress"]
|
|
layout_mode = 2
|
|
theme_override_fonts/font = ExtResource("5_m47h2")
|
|
theme_override_font_sizes/font_size = 14
|
|
text = " 第1年"
|
|
|
|
[node name="ProgressBar" type="ProgressBar" parent="HBox/YearProgress"]
|
|
custom_minimum_size = Vector2(100, 12)
|
|
layout_mode = 2
|
|
theme_override_styles/background = SubResource("StyleBoxFlat_whltx")
|
|
theme_override_styles/fill = SubResource("StyleBoxFlat_0ntnr")
|
|
value = 50.0
|
|
show_percentage = false
|
|
|
|
[node name="Padding4" type="Panel" parent="HBox"]
|
|
custom_minimum_size = Vector2(225, 0)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_styles/panel = SubResource("StyleBoxEmpty_0ntnr")
|
|
|
|
[node name="FundStats" parent="HBox" instance=ExtResource("1_jtpmx")]
|
|
custom_minimum_size = Vector2(100, 0)
|
|
layout_mode = 2
|
|
IconTexture = ExtResource("2_krusb")
|
|
|
|
[node name="FameStats" parent="HBox" instance=ExtResource("1_jtpmx")]
|
|
custom_minimum_size = Vector2(100, 0)
|
|
layout_mode = 2
|
|
IconTexture = ExtResource("3_udeu6")
|
|
DisplayName = "名声"
|
|
Value = "声名远扬"
|
|
|
|
[node name="ComputeStats" parent="HBox" instance=ExtResource("1_jtpmx")]
|
|
custom_minimum_size = Vector2(100, 0)
|
|
layout_mode = 2
|
|
IconTexture = ExtResource("4_udeu6")
|
|
DisplayName = "算力"
|
|
|
|
[node name="Padding2" type="Panel" parent="HBox"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_styles/panel = SubResource("StyleBoxEmpty_0ntnr")
|
|
|
|
[node name="CC1" type="CenterContainer" parent="HBox"]
|
|
layout_mode = 2
|
|
|
|
[node name="TaskToggle" type="Button" parent="HBox/CC1"]
|
|
layout_mode = 2
|
|
theme_override_fonts/font = ExtResource("5_m47h2")
|
|
theme_override_styles/normal = SubResource("StyleBoxTexture_jyumt")
|
|
theme_override_styles/pressed = SubResource("StyleBoxTexture_rqfvc")
|
|
theme_override_styles/hover = SubResource("StyleBoxTexture_0ntnr")
|
|
toggle_mode = true
|
|
text = "任务"
|
|
|
|
[node name="CC2" type="CenterContainer" parent="HBox"]
|
|
layout_mode = 2
|
|
|
|
[node name="LogToggle" type="Button" parent="HBox/CC2"]
|
|
layout_mode = 2
|
|
theme_override_fonts/font = ExtResource("5_m47h2")
|
|
theme_override_styles/normal = SubResource("StyleBoxTexture_jyumt")
|
|
theme_override_styles/pressed = SubResource("StyleBoxTexture_rqfvc")
|
|
theme_override_styles/hover = SubResource("StyleBoxTexture_0ntnr")
|
|
toggle_mode = true
|
|
text = "日志"
|
|
|
|
[node name="CC3" type="CenterContainer" parent="HBox"]
|
|
layout_mode = 2
|
|
|
|
[node name="SettingBtn" type="Button" parent="HBox/CC3"]
|
|
layout_mode = 2
|
|
theme_override_fonts/font = ExtResource("5_m47h2")
|
|
theme_override_styles/normal = SubResource("StyleBoxTexture_jyumt")
|
|
theme_override_styles/pressed = SubResource("StyleBoxTexture_rqfvc")
|
|
theme_override_styles/hover = SubResource("StyleBoxTexture_0ntnr")
|
|
text = "设置"
|
|
|
|
[node name="Padding3" type="Panel" parent="HBox"]
|
|
custom_minimum_size = Vector2(10, 0)
|
|
layout_mode = 2
|
|
theme_override_styles/panel = SubResource("StyleBoxEmpty_0ntnr")
|