forked from GDQuest/learn-gdscript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRunnableCodeExample.tscn
114 lines (105 loc) · 2.79 KB
/
RunnableCodeExample.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
[gd_scene load_steps=6 format=2]
[ext_resource path="res://ui/theme/gdscript_app_theme.tres" type="Theme" id=1]
[ext_resource path="res://ui/components/RunnableCodeExample.gd" type="Script" id=2]
[ext_resource path="res://ui/theme/textedit_stylebox.tres" type="StyleBox" id=3]
[ext_resource path="res://ui/theme/fonts/font_button_small.tres" type="DynamicFont" id=4]
[ext_resource path="res://ui/theme/outline_runnable_example.tres" type="StyleBox" id=5]
[node name="RunnableCodeExample" type="HBoxContainer"]
margin_right = 1030.0
margin_bottom = 278.0
size_flags_horizontal = 3
script = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Frame" type="Control" parent="."]
margin_right = 1030.0
margin_bottom = 278.0
rect_min_size = Vector2( 240, 220 )
size_flags_horizontal = 3
__meta__ = {
"_edit_use_anchors_": false
}
[node name="PanelContainer" type="PanelContainer" parent="Frame"]
anchor_right = 1.0
anchor_bottom = 1.0
custom_styles/panel = ExtResource( 5 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Sliders" type="VBoxContainer" parent="Frame"]
margin_left = 10.0
margin_top = 10.0
margin_right = 50.0
margin_bottom = 50.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="HBoxContainer" type="HBoxContainer" parent="Frame"]
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = -178.0
margin_top = -52.0
margin_right = -10.0
margin_bottom = -12.0
grow_horizontal = 0
grow_vertical = 0
rect_min_size = Vector2( 100, 40 )
focus_mode = 2
mouse_filter = 0
custom_constants/separation = 8
alignment = 2
__meta__ = {
"_edit_use_anchors_": false,
"_editor_description_": ""
}
[node name="ResetButton" type="Button" parent="Frame/HBoxContainer"]
margin_right = 80.0
margin_bottom = 40.0
grow_horizontal = 0
grow_vertical = 0
rect_min_size = Vector2( 80, 40 )
mouse_default_cursor_shape = 2
custom_fonts/font = ExtResource( 4 )
text = "Reset"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="RunButton" type="Button" parent="Frame/HBoxContainer"]
margin_left = 88.0
margin_right = 168.0
margin_bottom = 40.0
grow_horizontal = 0
grow_vertical = 0
rect_min_size = Vector2( 80, 40 )
mouse_default_cursor_shape = 2
custom_fonts/font = ExtResource( 4 )
text = "run()"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="GDScriptCode" type="TextEdit" parent="."]
visible = false
margin_left = 517.0
margin_right = 1030.0
margin_bottom = 278.0
rect_min_size = Vector2( 400, 260 )
size_flags_horizontal = 3
theme = ExtResource( 1 )
custom_styles/read_only = ExtResource( 3 )
readonly = true
syntax_highlighting = true
show_line_numbers = true
draw_tabs = true
draw_spaces = true
context_menu_enabled = false
shortcut_keys_enabled = false
smooth_scrolling = true
wrap_enabled = true
caret_block_mode = true
caret_blink = true
__meta__ = {
"_edit_use_anchors_": false
}