enu/app/scenes/GUI.tscn

215 lines
5.5 KiB
Plaintext

[gd_scene load_steps=15 format=2]
[ext_resource path="res://components/Console.gdns" type="Script" id=1]
[ext_resource path="res://components/TextEdit.gdns" type="Script" id=2]
[ext_resource path="res://components/ActionButton.tscn" type="PackedScene" id=3]
[ext_resource path="res://components/MarkdownLabel.tscn" type="PackedScene" id=4]
[ext_resource path="res://textures/reticle.png" type="Texture" id=5]
[ext_resource path="res://themes/DarkTheme.tres" type="Theme" id=6]
[ext_resource path="res://components/RightPanel.gdns" type="Script" id=7]
[ext_resource path="res://themes/mono-bold.otf" type="DynamicFontData" id=8]
[ext_resource path="res://scenes/PreviewWorld.tscn" type="PackedScene" id=9]
[ext_resource path="res://components/PreviewMaker.gdns" type="Script" id=10]
[ext_resource path="res://components/Toolbar.gdns" type="Script" id=11]
[sub_resource type="ButtonGroup" id=1]
[sub_resource type="StyleBoxFlat" id=5]
bg_color = Color( 0, 0, 0, 0.839216 )
border_color = Color( 1, 0.45098, 0.992157, 1 )
[sub_resource type="DynamicFont" id=4]
size = 20
font_data = ExtResource( 8 )
[node name="GUI" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
mouse_filter = 2
[node name="Toolbar" type="HBoxContainer" parent="."]
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_bottom = -5.0
grow_horizontal = 2
grow_vertical = 0
alignment = 1
script = ExtResource( 11 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Button-code" parent="Toolbar" instance=ExtResource( 3 )]
margin_left = 746.0
margin_right = 796.0
margin_bottom = 50.0
group = SubResource( 1 )
[node name="Button-blue" parent="Toolbar" instance=ExtResource( 3 )]
margin_left = 800.0
margin_right = 850.0
margin_bottom = 50.0
pressed = true
group = SubResource( 1 )
icon = null
[node name="Button-red" parent="Toolbar" instance=ExtResource( 3 )]
margin_left = 854.0
margin_right = 904.0
margin_bottom = 50.0
group = SubResource( 1 )
icon = null
[node name="Button-green" parent="Toolbar" instance=ExtResource( 3 )]
margin_left = 908.0
margin_right = 958.0
margin_bottom = 50.0
group = SubResource( 1 )
icon = null
[node name="Button-black" parent="Toolbar" instance=ExtResource( 3 )]
margin_left = 962.0
margin_right = 1012.0
margin_bottom = 50.0
group = SubResource( 1 )
icon = null
[node name="Button-white" parent="Toolbar" instance=ExtResource( 3 )]
margin_left = 1016.0
margin_right = 1066.0
margin_bottom = 50.0
group = SubResource( 1 )
icon = null
[node name="Button-brown" parent="Toolbar" instance=ExtResource( 3 )]
margin_left = 1070.0
margin_right = 1120.0
margin_bottom = 50.0
group = SubResource( 1 )
icon = null
[node name="Button-bot" parent="Toolbar" instance=ExtResource( 3 )]
margin_left = 1124.0
margin_right = 1174.0
margin_bottom = 50.0
group = SubResource( 1 )
icon = null
[node name="LeftPanel" type="MarginContainer" parent="."]
anchor_right = 0.5
anchor_bottom = 1.0
margin_right = -1.0
mouse_filter = 2
theme = ExtResource( 6 )
[node name="ThemeHolder" type="VBoxContainer" parent="LeftPanel"]
margin_right = 959.0
margin_bottom = 1080.0
mouse_filter = 2
size_flags_horizontal = 3
size_flags_vertical = 3
custom_constants/separation = 2
[node name="MarginContainer" type="MarginContainer" parent="LeftPanel/ThemeHolder"]
margin_right = 959.0
margin_bottom = 1080.0
mouse_filter = 2
size_flags_horizontal = 3
size_flags_vertical = 3
size_flags_stretch_ratio = 2.0
[node name="Editor" type="TextEdit" parent="LeftPanel/ThemeHolder/MarginContainer"]
visible = false
margin_right = 959.0
margin_bottom = 1080.0
size_flags_vertical = 3
custom_colors/selection_color = Color( 0.184314, 0.0117647, 0.686275, 1 )
custom_colors/executing_line_color = Color( 0.0392157, 0, 0.168627, 1 )
custom_styles/normal = SubResource( 5 )
indent_using_spaces = true
indent_size = 2
syntax_highlighting = true
show_line_numbers = true
smooth_scrolling = true
wrap_enabled = true
caret_blink = true
caret_moving_by_right_click = false
script = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Console" type="RichTextLabel" parent="LeftPanel/ThemeHolder"]
visible = false
margin_top = 721.0
margin_right = 960.0
margin_bottom = 1080.0
focus_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
bbcode_enabled = true
scroll_following = true
selection_enabled = true
script = ExtResource( 1 )
[node name="RightPanel" type="MarginContainer" parent="."]
anchor_left = 0.5
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 1.0
mouse_filter = 2
script = ExtResource( 7 )
[node name="MarkdownLabel" parent="RightPanel" instance=ExtResource( 4 )]
visible = false
anchor_right = 0.0
anchor_bottom = 0.0
margin_right = 959.0
margin_bottom = 1080.0
focus_mode = 2
[node name="Reticle" type="Control" parent="."]
visible = false
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_right = 40.0
margin_bottom = 40.0
mouse_filter = 2
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ReticleSprite" type="Sprite" parent="Reticle"]
modulate = Color( 0, 0, 0, 1 )
scale = Vector2( 0.14, 0.14 )
texture = ExtResource( 5 )
[node name="PreviewMaker" type="Viewport" parent="."]
size = Vector2( 512, 512 )
own_world = true
transparent_bg = true
msaa = 3
render_target_v_flip = true
render_target_update_mode = 0
script = ExtResource( 10 )
[node name="PreviewWorld" parent="PreviewMaker" instance=ExtResource( 9 )]
[node name="stats" type="Label" parent="."]
visible = false
anchor_left = 1.0
anchor_right = 1.0
margin_left = -614.0
margin_top = 5.0
margin_right = -5.0
margin_bottom = 628.0
custom_fonts/font = SubResource( 4 )
text = "0"
autowrap = true
__meta__ = {
"_edit_use_anchors_": false
}