[gd_scene load_steps=9 format=3 uid="uid://b8r8skw2tnciq"] [ext_resource type="Texture2D" uid="uid://ctmr6cncu5ir5" path="res://Art/UI/tablet.png" id="1_55npq"] [ext_resource type="FontFile" uid="uid://dv8ppra5tgn1t" path="res://Art/Fonts/PixelatedEleganceRegular-ovyAA.ttf" id="4_gaxx3"] [sub_resource type="GDScript" id="GDScript_0snv3"] script/source = "extends CanvasLayer # Called when the node enters the scene tree for the first time. func _ready() -> void: pass # Replace with function body. # Called every frame. 'delta' is the elapsed time since the previous frame. func _process(delta: float) -> void: pass " [sub_resource type="Animation" id="Animation_betlh"] length = 0.001 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath(".:position") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [Vector2(0, 180)] } [sub_resource type="Animation" id="Animation_2w4o3"] resource_name = "close" tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath(".:position") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 0.4), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [Vector2(0, 180), Vector2(0, 1080)] } [sub_resource type="Animation" id="Animation_7qxmi"] resource_name = "open" tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath(".:position") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 0.4), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [Vector2(0, 1080), Vector2(0, 180)] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_4wx7s"] _data = { &"RESET": SubResource("Animation_betlh"), &"close": SubResource("Animation_2w4o3"), &"open": SubResource("Animation_7qxmi") } [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_n43tl"] bg_color = Color(0.144063, 0.144063, 0.144062, 1) border_width_left = 1 border_width_top = 1 border_width_right = 1 border_width_bottom = 1 expand_margin_bottom = 1.0 [node name="Tablet" type="CanvasLayer"] script = SubResource("GDScript_0snv3") [node name="Tablet" type="Control" parent="."] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 offset_top = 180.0 offset_right = -1320.0 grow_horizontal = 2 grow_vertical = 2 [node name="TextureRect" type="TextureRect" parent="Tablet"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 texture = ExtResource("1_55npq") [node name="AnimationPlayer" type="AnimationPlayer" parent="Tablet"] libraries = { &"": SubResource("AnimationLibrary_4wx7s") } [node name="MarginContainer" type="MarginContainer" parent="Tablet"] 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 = 33 theme_override_constants/margin_top = 33 theme_override_constants/margin_right = 33 theme_override_constants/margin_bottom = 33 [node name="VBoxContainer" type="VBoxContainer" parent="Tablet/MarginContainer"] layout_mode = 2 [node name="Screen1Container" type="MarginContainer" parent="Tablet/MarginContainer/VBoxContainer"] layout_mode = 2 size_flags_vertical = 3 theme_override_constants/margin_left = 10 theme_override_constants/margin_top = 10 theme_override_constants/margin_right = 10 theme_override_constants/margin_bottom = 10 [node name="VBoxContainer" type="VBoxContainer" parent="Tablet/MarginContainer/VBoxContainer/Screen1Container"] layout_mode = 2 theme_override_constants/separation = 5 [node name="HBoxContainer" type="HBoxContainer" parent="Tablet/MarginContainer/VBoxContainer/Screen1Container/VBoxContainer"] layout_mode = 2 size_flags_vertical = 3 size_flags_stretch_ratio = 0.5 [node name="Panel" type="Panel" parent="Tablet/MarginContainer/VBoxContainer/Screen1Container/VBoxContainer/HBoxContainer"] layout_mode = 2 size_flags_horizontal = 3 size_flags_stretch_ratio = 0.4 theme_override_styles/panel = SubResource("StyleBoxFlat_n43tl") [node name="PatientMugshot" type="TextureRect" parent="Tablet/MarginContainer/VBoxContainer/Screen1Container/VBoxContainer/HBoxContainer/Panel"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 size_flags_horizontal = 3 size_flags_stretch_ratio = 0.4 expand_mode = 1 [node name="VBoxContainer" type="VBoxContainer" parent="Tablet/MarginContainer/VBoxContainer/Screen1Container/VBoxContainer/HBoxContainer"] layout_mode = 2 size_flags_horizontal = 3 [node name="PatientFileTitle" type="RichTextLabel" parent="Tablet/MarginContainer/VBoxContainer/Screen1Container/VBoxContainer/HBoxContainer/VBoxContainer"] layout_mode = 2 size_flags_horizontal = 3 theme_override_fonts/normal_font = ExtResource("4_gaxx3") text = "PATIENT FILE #564" [node name="PatientFile" type="RichTextLabel" parent="Tablet/MarginContainer/VBoxContainer"] layout_mode = 2 size_flags_vertical = 3 theme_override_constants/line_separation = 5 theme_override_fonts/normal_font = ExtResource("4_gaxx3") bbcode_enabled = true text = "NAME: Orleg, Vladislav AGE: 59 PROFESSION: Gardener ADMISSION REASON: Delirium Verbal agression Homicidal threats" [node name="HSeparator" type="HSeparator" parent="Tablet/MarginContainer/VBoxContainer"] layout_mode = 2 theme_override_constants/separation = 22 [node name="Screen2Container" type="MarginContainer" parent="Tablet/MarginContainer/VBoxContainer"] layout_mode = 2 size_flags_vertical = 3 theme_override_constants/margin_left = 10 theme_override_constants/margin_top = 10 theme_override_constants/margin_right = 10 theme_override_constants/margin_bottom = 10