mirror of
https://github.com/Relintai/Godot-Simple-TODO.git
synced 2024-11-15 13:37:20 +01:00
66 lines
3.0 KiB
Plaintext
66 lines
3.0 KiB
Plaintext
|
[gd_scene load_steps=4 format=2]
|
||
|
|
||
|
[ext_resource path="res://addons/SimpleTODO/TODOItem.gd" type="Script" id=1]
|
||
|
|
||
|
[sub_resource type="Image" id=3]
|
||
|
data = {
|
||
|
"data": PoolByteArray( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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
|
||
|
}
|
||
|
|
||
|
[sub_resource type="ImageTexture" id=2]
|
||
|
flags = 4
|
||
|
flags = 4
|
||
|
image = SubResource( 3 )
|
||
|
size = Vector2( 16, 16 )
|
||
|
|
||
|
[node name="TODOItem" type="HBoxContainer"]
|
||
|
margin_right = 480.0
|
||
|
margin_bottom = 36.0
|
||
|
script = ExtResource( 1 )
|
||
|
__meta__ = {
|
||
|
"_edit_use_anchors_": false
|
||
|
}
|
||
|
|
||
|
[node name="Text" type="TextEdit" parent="."]
|
||
|
margin_right = 448.0
|
||
|
margin_bottom = 36.0
|
||
|
rect_min_size = Vector2( 0, 22 )
|
||
|
size_flags_horizontal = 3
|
||
|
text = "TODO"
|
||
|
wrap_enabled = true
|
||
|
|
||
|
[node name="HackLabel" type="Label" parent="Text"]
|
||
|
anchor_left = 0.5
|
||
|
anchor_top = 0.5
|
||
|
anchor_right = 0.5
|
||
|
anchor_bottom = 0.5
|
||
|
margin_left = -224.0
|
||
|
margin_top = 80.0
|
||
|
margin_right = 122.0
|
||
|
margin_bottom = 160.0
|
||
|
text = "TODO"
|
||
|
autowrap = true
|
||
|
__meta__ = {
|
||
|
"_edit_use_anchors_": false
|
||
|
}
|
||
|
|
||
|
[node name="Button" type="Button" parent="."]
|
||
|
margin_left = 452.0
|
||
|
margin_right = 480.0
|
||
|
margin_bottom = 36.0
|
||
|
hint_tooltip = "Delete item"
|
||
|
icon = SubResource( 2 )
|
||
|
|
||
|
[node name="Timer" type="Timer" parent="."]
|
||
|
wait_time = 0.5
|
||
|
one_shot = true
|
||
|
|
||
|
[connection signal="text_changed" from="Text" to="." method="text_changed"]
|
||
|
[connection signal="text_changed" from="Text" to="Timer" method="start"]
|
||
|
[connection signal="pressed" from="Button" to="." method="delete_pressed"]
|
||
|
[connection signal="timeout" from="Timer" to="." method="request_save"]
|