添加了教育平台
This commit is contained in:
@@ -1,31 +1,40 @@
|
||||
[gd_scene format=3 uid="uid://njxsnsho85w6"]
|
||||
[gd_scene load_steps=4 format=3 uid="uid://njxsnsho85w6"]
|
||||
|
||||
[node name="PlaybackWindow" type="Window"]
|
||||
initial_position = 2
|
||||
title = "Playback"
|
||||
size = Vector2i(308, 128)
|
||||
wrap_controls = true
|
||||
[ext_resource type="Script" path="res://BITKit/Scripts/UX/UXDrag.cs" id="1_8kyds"]
|
||||
[ext_resource type="Texture2D" uid="uid://cans6tu1bntkn" path="res://Artists/Art/Icons/Icon_player-play-filled.png" id="2_ogljc"]
|
||||
[ext_resource type="Texture2D" uid="uid://wtpa4xcg7ky4" path="res://Artists/Art/Icons/Icon_player-pause-filled.png" id="3_hi6kp"]
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
[node name="VBoxContainer" type="VBoxContainer"]
|
||||
offset_right = 512.0
|
||||
offset_bottom = 64.0
|
||||
script = ExtResource("1_8kyds")
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="."]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
|
||||
[node name="CurrentTime" type="Label" parent="VBoxContainer/HBoxContainer"]
|
||||
[node name="CurrentTime" type="Label" parent="HBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "当前时间"
|
||||
|
||||
[node name="NormalizeTime" type="HSlider" parent="VBoxContainer/HBoxContainer"]
|
||||
[node name="TextureButton" type="TextureButton" parent="HBoxContainer"]
|
||||
custom_minimum_size = Vector2(24, 24)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 4
|
||||
toggle_mode = true
|
||||
texture_normal = ExtResource("2_ogljc")
|
||||
texture_pressed = ExtResource("3_hi6kp")
|
||||
ignore_texture_size = true
|
||||
stretch_mode = 4
|
||||
|
||||
[node name="NormalizeTime" type="HSlider" parent="HBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 1
|
||||
max_value = 1.0
|
||||
step = 0.01
|
||||
|
||||
[node name="TotalTime" type="Label" parent="VBoxContainer/HBoxContainer"]
|
||||
[node name="TotalTime" type="Label" parent="HBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "总时间"
|
||||
|
55
Artists/Templates/RectangleData.tscn
Normal file
55
Artists/Templates/RectangleData.tscn
Normal file
@@ -0,0 +1,55 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://kjagucr1ngry"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://k3xy782w6pa0" path="res://BITKit/Art/Shapes/icon_squad_rounded-4px.png" id="1_8ekvh"]
|
||||
[ext_resource type="Texture2D" uid="uid://sq1oh4tippad" path="res://Artists/Art/Icons/icon_temperature-celsius.png" id="2_722ju"]
|
||||
|
||||
[node name="RectangleData" type="NinePatchRect"]
|
||||
self_modulate = Color(0, 0, 0, 0.501961)
|
||||
custom_minimum_size = Vector2(128, 128)
|
||||
texture = ExtResource("1_8ekvh")
|
||||
patch_margin_left = 16
|
||||
patch_margin_top = 16
|
||||
patch_margin_right = 16
|
||||
patch_margin_bottom = 16
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="."]
|
||||
self_modulate = Color(1, 1, 1, 0.501961)
|
||||
custom_minimum_size = Vector2(64, 64)
|
||||
layout_mode = 1
|
||||
anchors_preset = 1
|
||||
anchor_left = 1.0
|
||||
anchor_right = 1.0
|
||||
offset_left = -64.0
|
||||
offset_bottom = 64.0
|
||||
grow_horizontal = 0
|
||||
texture = ExtResource("2_722ju")
|
||||
|
||||
[node name="Label" type="Label" parent="."]
|
||||
layout_mode = 1
|
||||
offset_right = 62.0
|
||||
offset_bottom = 62.0
|
||||
theme_type_variation = &"HeaderSmall"
|
||||
text = "温度"
|
||||
horizontal_alignment = 2
|
||||
vertical_alignment = 2
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_constants/margin_left = 16
|
||||
theme_override_constants/margin_top = 16
|
||||
theme_override_constants/margin_right = 16
|
||||
theme_override_constants/margin_bottom = 16
|
||||
|
||||
[node name="Label2" type="Label" parent="MarginContainer"]
|
||||
custom_minimum_size = Vector2(64, 0)
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 1
|
||||
theme_type_variation = &"HeaderLarge"
|
||||
text = "32.4"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 2
|
Reference in New Issue
Block a user