godot-xterm/addons/gut/gui/OutputText.tscn

124 lines
5.1 KiB
Text
Raw Normal View History

2023-01-20 22:12:47 +01:00
[gd_scene load_steps=4 format=2]
2023-01-20 22:12:47 +01:00
[ext_resource path="res://addons/gut/gui/OutputText.gd" type="Script" id=1]
2023-01-20 22:12:47 +01:00
[sub_resource type="Image" id=3]
data = {
2023-01-20 22:12:47 +01:00
"data": PackedByteArray( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ),
"format": "LumAlpha8",
"height": 16,
"mipmaps": false,
"width": 16
}
2023-01-20 22:12:47 +01:00
[sub_resource type="ImageTexture" id=2]
flags = 4
flags = 4
image = SubResource( 3 )
size = Vector2( 16, 16 )
[node name="OutputText" type="VBoxContainer"]
offset_right = 862.0
offset_bottom = 523.0
size_flags_horizontal = 3
size_flags_vertical = 3
2023-01-20 22:12:47 +01:00
script = ExtResource( 1 )
[node name="Toolbar" type="HBoxContainer" parent="."]
2023-01-20 22:12:47 +01:00
offset_right = 862.0
offset_bottom = 24.0
size_flags_horizontal = 3
[node name="ShowSearch" type="Button" parent="Toolbar"]
2023-01-20 22:12:47 +01:00
offset_right = 28.0
offset_bottom = 24.0
toggle_mode = true
2023-01-20 22:12:47 +01:00
icon = SubResource( 2 )
[node name="UseColors" type="Button" parent="Toolbar"]
2023-01-20 22:12:47 +01:00
offset_left = 32.0
offset_right = 60.0
offset_bottom = 24.0
hint_tooltip = "Colorize output.
It's not the same as everywhere else (long story),
but it is better than nothing."
toggle_mode = true
2023-01-20 22:12:47 +01:00
pressed = true
icon = SubResource( 2 )
[node name="WordWrap" type="Button" parent="Toolbar"]
2023-01-20 22:12:47 +01:00
offset_left = 64.0
offset_right = 92.0
offset_bottom = 24.0
hint_tooltip = "Word wrap"
toggle_mode = true
2023-01-20 22:12:47 +01:00
icon = SubResource( 2 )
[node name="CenterContainer" type="CenterContainer" parent="Toolbar"]
2023-01-20 22:12:47 +01:00
offset_left = 96.0
offset_right = 743.0
offset_bottom = 24.0
size_flags_horizontal = 3
[node name="CopyButton" type="Button" parent="Toolbar"]
2023-01-20 22:12:47 +01:00
offset_left = 747.0
offset_right = 798.0
offset_bottom = 24.0
hint_tooltip = "Copy to clipboard"
text = " Copy "
[node name="ClearButton" type="Button" parent="Toolbar"]
2023-01-20 22:12:47 +01:00
offset_left = 802.0
offset_right = 862.0
offset_bottom = 24.0
text = " Clear "
[node name="Output" type="TextEdit" parent="."]
2023-01-20 22:12:47 +01:00
offset_top = 28.0
offset_right = 862.0
offset_bottom = 523.0
size_flags_horizontal = 3
size_flags_vertical = 3
2023-01-20 22:12:47 +01:00
readonly = true
highlight_current_line = true
2023-01-20 22:12:47 +01:00
syntax_highlighter = true
show_line_numbers = true
smooth_scrolling = true
[node name="Search" type="HBoxContainer" parent="."]
visible = false
2023-01-20 22:12:47 +01:00
offset_top = 499.0
offset_right = 862.0
offset_bottom = 523.0
[node name="SearchTerm" type="LineEdit" parent="Search"]
2023-01-20 22:12:47 +01:00
offset_right = 804.0
offset_bottom = 24.0
size_flags_horizontal = 3
[node name="SearchNext" type="Button" parent="Search"]
2023-01-20 22:12:47 +01:00
offset_left = 808.0
offset_right = 862.0
offset_bottom = 24.0
hint_tooltip = "Find next (enter)"
text = "Next"
[node name="SearchPrev" type="Button" parent="Search"]
2023-01-20 22:12:47 +01:00
offset_left = 808.0
offset_right = 820.0
offset_bottom = 20.0
hint_tooltip = "Find previous (shift + enter)"
text = "Prev"
[connection signal="pressed" from="Toolbar/ShowSearch" to="." method="_on_ShowSearch_pressed"]
[connection signal="pressed" from="Toolbar/UseColors" to="." method="_on_UseColors_pressed"]
[connection signal="pressed" from="Toolbar/WordWrap" to="." method="_on_WordWrap_pressed"]
[connection signal="pressed" from="Toolbar/CopyButton" to="." method="_on_CopyButton_pressed"]
[connection signal="pressed" from="Toolbar/ClearButton" to="." method="_on_ClearButton_pressed"]
[connection signal="focus_entered" from="Search/SearchTerm" to="." method="_on_SearchTerm_focus_entered"]
[connection signal="gui_input" from="Search/SearchTerm" to="." method="_on_SearchTerm_gui_input"]
[connection signal="text_changed" from="Search/SearchTerm" to="." method="_on_SearchTerm_text_changed"]
[connection signal="text_submitted" from="Search/SearchTerm" to="." method="_on_SearchTerm_text_entered"]
[connection signal="pressed" from="Search/SearchNext" to="." method="_on_SearchNext_pressed"]
[connection signal="pressed" from="Search/SearchPrev" to="." method="_on_SearchPrev_pressed"]