Godot 4.7 project for authoring, previewing, validating, and building Exchanger PCK themes. Includes the example and space-pixel themes, binding contracts, editor tooling, validation/build scripts, and project documentation.
173 lines
4.9 KiB
Plaintext
173 lines
4.9 KiB
Plaintext
[gd_scene load_steps=2 format=3]
|
||
|
||
[ext_resource type="PackedScene" path="res://preview_scenes/PreviewFooter.tscn" id="1_footer"]
|
||
|
||
[node name="SERVICE" type="Control"]
|
||
layout_mode = 3
|
||
anchors_preset = 15
|
||
anchor_right = 1.0
|
||
anchor_bottom = 1.0
|
||
grow_horizontal = 2
|
||
grow_vertical = 2
|
||
|
||
[node name="Title" type="Label" parent="."]
|
||
layout_mode = 0
|
||
offset_left = 40.0
|
||
offset_top = 18.0
|
||
offset_right = 680.0
|
||
offset_bottom = 72.0
|
||
theme_type_variation = &"ScreenTitle"
|
||
theme_override_font_sizes/font_size = 34
|
||
text = "ВХОД В НАСТРОЙКИ"
|
||
horizontal_alignment = 1
|
||
vertical_alignment = 1
|
||
|
||
[node name="Description" type="Label" parent="."]
|
||
layout_mode = 0
|
||
offset_left = 52.0
|
||
offset_top = 78.0
|
||
offset_right = 668.0
|
||
offset_bottom = 140.0
|
||
theme_type_variation = &"ScreenDescription"
|
||
theme_override_font_sizes/font_size = 16
|
||
text = "ВВЕДИТЕ PIN-КОД, ЧТОБЫ ОТКРЫТЬ НАСТРОЙКИ"
|
||
horizontal_alignment = 1
|
||
vertical_alignment = 1
|
||
autowrap_mode = 2
|
||
|
||
[node name="AccessPanel" type="PanelContainer" parent="."]
|
||
layout_mode = 0
|
||
offset_left = 60.0
|
||
offset_top = 152.0
|
||
offset_right = 660.0
|
||
offset_bottom = 916.0
|
||
theme_type_variation = &"WhitePanel"
|
||
|
||
[node name="Content" type="VBoxContainer" parent="AccessPanel"]
|
||
layout_mode = 2
|
||
theme_override_constants/separation = 28
|
||
|
||
[node name="Header" type="Label" parent="AccessPanel/Content"]
|
||
custom_minimum_size = Vector2(0, 46)
|
||
layout_mode = 2
|
||
theme_type_variation = &"PanelTitle"
|
||
text = "PIN-КОД"
|
||
horizontal_alignment = 1
|
||
vertical_alignment = 1
|
||
|
||
[node name="PinDisplay" type="Label" parent="AccessPanel/Content"]
|
||
custom_minimum_size = Vector2(0, 62)
|
||
layout_mode = 2
|
||
theme_type_variation = &"StatusText"
|
||
theme_override_font_sizes/font_size = 34
|
||
text = "—"
|
||
horizontal_alignment = 1
|
||
vertical_alignment = 1
|
||
|
||
[node name="Status" type="Label" parent="AccessPanel/Content"]
|
||
custom_minimum_size = Vector2(0, 70)
|
||
layout_mode = 2
|
||
theme_type_variation = &"PanelText"
|
||
theme_override_font_sizes/font_size = 17
|
||
text = "ПОСЛЕ ПЯТИ ОШИБОК ВХОД БЛОКИРУЕТСЯ НА 30 СЕКУНД"
|
||
horizontal_alignment = 1
|
||
vertical_alignment = 1
|
||
autowrap_mode = 2
|
||
|
||
[node name="Keypad" type="GridContainer" parent="AccessPanel/Content"]
|
||
layout_mode = 2
|
||
theme_override_constants/h_separation = 12
|
||
theme_override_constants/v_separation = 12
|
||
columns = 3
|
||
|
||
[node name="Digit1" type="Button" parent="AccessPanel/Content/Keypad"]
|
||
custom_minimum_size = Vector2(170, 76)
|
||
layout_mode = 2
|
||
theme_type_variation = &"CompactButton"
|
||
text = "1"
|
||
|
||
[node name="Digit2" type="Button" parent="AccessPanel/Content/Keypad"]
|
||
custom_minimum_size = Vector2(170, 76)
|
||
layout_mode = 2
|
||
theme_type_variation = &"CompactButton"
|
||
text = "2"
|
||
|
||
[node name="Digit3" type="Button" parent="AccessPanel/Content/Keypad"]
|
||
custom_minimum_size = Vector2(170, 76)
|
||
layout_mode = 2
|
||
theme_type_variation = &"CompactButton"
|
||
text = "3"
|
||
|
||
[node name="Digit4" type="Button" parent="AccessPanel/Content/Keypad"]
|
||
custom_minimum_size = Vector2(170, 76)
|
||
layout_mode = 2
|
||
theme_type_variation = &"CompactButton"
|
||
text = "4"
|
||
|
||
[node name="Digit5" type="Button" parent="AccessPanel/Content/Keypad"]
|
||
custom_minimum_size = Vector2(170, 76)
|
||
layout_mode = 2
|
||
theme_type_variation = &"CompactButton"
|
||
text = "5"
|
||
|
||
[node name="Digit6" type="Button" parent="AccessPanel/Content/Keypad"]
|
||
custom_minimum_size = Vector2(170, 76)
|
||
layout_mode = 2
|
||
theme_type_variation = &"CompactButton"
|
||
text = "6"
|
||
|
||
[node name="Digit7" type="Button" parent="AccessPanel/Content/Keypad"]
|
||
custom_minimum_size = Vector2(170, 76)
|
||
layout_mode = 2
|
||
theme_type_variation = &"CompactButton"
|
||
text = "7"
|
||
|
||
[node name="Digit8" type="Button" parent="AccessPanel/Content/Keypad"]
|
||
custom_minimum_size = Vector2(170, 76)
|
||
layout_mode = 2
|
||
theme_type_variation = &"CompactButton"
|
||
text = "8"
|
||
|
||
[node name="Digit9" type="Button" parent="AccessPanel/Content/Keypad"]
|
||
custom_minimum_size = Vector2(170, 76)
|
||
layout_mode = 2
|
||
theme_type_variation = &"CompactButton"
|
||
text = "9"
|
||
|
||
[node name="Clear" type="Button" parent="AccessPanel/Content/Keypad"]
|
||
custom_minimum_size = Vector2(170, 76)
|
||
layout_mode = 2
|
||
theme_type_variation = &"CompactButton"
|
||
theme_override_font_sizes/font_size = 16
|
||
text = "СБРОС"
|
||
|
||
[node name="Digit0" type="Button" parent="AccessPanel/Content/Keypad"]
|
||
custom_minimum_size = Vector2(170, 76)
|
||
layout_mode = 2
|
||
theme_type_variation = &"CompactButton"
|
||
text = "0"
|
||
|
||
[node name="Erase" type="Button" parent="AccessPanel/Content/Keypad"]
|
||
custom_minimum_size = Vector2(170, 76)
|
||
layout_mode = 2
|
||
theme_type_variation = &"CompactButton"
|
||
text = "⌫"
|
||
|
||
[node name="Enter" type="Button" parent="AccessPanel/Content"]
|
||
custom_minimum_size = Vector2(0, 90)
|
||
layout_mode = 2
|
||
theme_type_variation = &"PrimaryButton"
|
||
theme_override_font_sizes/font_size = 32
|
||
text = "ВОЙТИ"
|
||
|
||
[node name="Cancel" type="Button" parent="."]
|
||
layout_mode = 0
|
||
offset_left = 110.0
|
||
offset_top = 940.0
|
||
offset_right = 610.0
|
||
offset_bottom = 1026.0
|
||
theme_type_variation = &"SecondaryButton"
|
||
text = "ОТМЕНА"
|
||
|
||
[node name="Footer" parent="." instance=ExtResource("1_footer")]
|