]> Untitled Git - wolf-seeking-sheep.git/blob - addons/dialogic/Modules/DefaultLayoutParts/Layer_History/history_layer.tscn
Squashed commit of the following:
[wolf-seeking-sheep.git] / addons / dialogic / Modules / DefaultLayoutParts / Layer_History / history_layer.tscn
1 [gd_scene load_steps=4 format=3 uid="uid://lx24i8fl6uo"]
2
3 [ext_resource type="Script" uid="uid://dorxfj5v55dcj" path="res://addons/dialogic/Modules/DefaultLayoutParts/Layer_History/history_layer.gd" id="1_4mqm3"]
4 [ext_resource type="PackedScene" uid="uid://cuoywrmvda1yg" path="res://addons/dialogic/Modules/DefaultLayoutParts/Layer_History/example_history_item.tscn" id="2_x1xgk"]
5
6 [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_1hdvb"]
7 content_margin_left = 10.0
8 content_margin_top = 10.0
9 content_margin_right = 10.0
10 content_margin_bottom = 10.0
11 bg_color = Color(0, 0, 0, 0.776471)
12 border_color = Color(0.8, 0.8, 0.8, 0)
13 corner_radius_top_left = 20
14 corner_radius_top_right = 20
15 corner_radius_bottom_right = 20
16 corner_radius_bottom_left = 20
17
18 [node name="ExampleHistoryScene" type="Control"]
19 layout_direction = 1
20 layout_mode = 3
21 anchors_preset = 15
22 anchor_right = 1.0
23 anchor_bottom = 1.0
24 grow_horizontal = 2
25 grow_vertical = 2
26 size_flags_horizontal = 3
27 size_flags_vertical = 3
28 mouse_filter = 2
29 script = ExtResource("1_4mqm3")
30 font_use_global_size = null
31 font_custom_size = null
32 font_use_global_fonts = null
33 font_custom_normal = null
34 font_custom_bold = null
35 font_custom_italics = null
36 HistoryItem = ExtResource("2_x1xgk")
37 disabled = null
38
39 [node name="HistoryBox" type="ScrollContainer" parent="."]
40 unique_name_in_owner = true
41 visible = false
42 layout_mode = 1
43 anchors_preset = 15
44 anchor_right = 1.0
45 anchor_bottom = 1.0
46 offset_left = 74.0
47 offset_top = 65.0
48 offset_right = -74.0
49 offset_bottom = -57.0
50 grow_horizontal = 2
51 grow_vertical = 2
52 size_flags_vertical = 3
53 theme_override_styles/panel = SubResource("StyleBoxFlat_1hdvb")
54 horizontal_scroll_mode = 0
55
56 [node name="HistoryLog" type="VBoxContainer" parent="HistoryBox"]
57 unique_name_in_owner = true
58 layout_direction = 1
59 layout_mode = 2
60 size_flags_horizontal = 3
61 size_flags_vertical = 3
62
63 [node name="ShowHistory" type="Button" parent="."]
64 layout_mode = 1
65 anchors_preset = 1
66 anchor_left = 1.0
67 anchor_right = 1.0
68 offset_left = -73.0
69 offset_top = 7.0
70 offset_right = -9.0
71 offset_bottom = 38.0
72 grow_horizontal = 0
73 size_flags_horizontal = 4
74 size_flags_vertical = 4
75 text = "History"
76
77 [node name="HideHistory" type="Button" parent="."]
78 visible = false
79 layout_mode = 1
80 anchors_preset = 1
81 anchor_left = 1.0
82 anchor_right = 1.0
83 offset_left = -123.0
84 offset_top = 58.0
85 offset_right = -62.0
86 offset_bottom = 89.0
87 grow_horizontal = 0
88 size_flags_horizontal = 4
89 size_flags_vertical = 4
90 text = "Return"
91
92 [connection signal="pressed" from="ShowHistory" to="." method="_on_show_history_pressed"]
93 [connection signal="pressed" from="HideHistory" to="." method="_on_hide_history_pressed"]