1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- [gd_scene load_steps=9 format=2]
- [ext_resource path="res://scripts/line_elem.gd" type="Script" id=1]
- [ext_resource path="res://textures/ctrl.png" type="Texture" id=2]
- [ext_resource path="res://textures/line.png" type="Texture" id=3]
- [sub_resource type="StyleBoxFlat" id=1]
- bg_color = Color( 0.690196, 0.211765, 0.211765, 1 )
- [sub_resource type="StyleBoxFlat" id=2]
- bg_color = Color( 0.403922, 0.0862745, 0.0862745, 1 )
- [sub_resource type="StyleBoxFlat" id=3]
- bg_color = Color( 0.776471, 0.223529, 0.223529, 1 )
- [sub_resource type="StyleBoxFlat" id=4]
- [sub_resource type="StyleBoxFlat" id=5]
- bg_color = Color( 0.776471, 0.223529, 0.223529, 1 )
- [node name="line_ctrl" type="VBoxContainer"]
- margin_left = 215.0
- margin_top = 270.0
- margin_right = 416.0
- margin_bottom = 294.0
- [node name="hb" type="HBoxContainer" parent="."]
- margin_right = 248.0
- margin_bottom = 24.0
- script = ExtResource( 1 )
- [node name="TextureRect" type="TextureRect" parent="hb"]
- margin_right = 21.0
- margin_bottom = 24.0
- rect_pivot_offset = Vector2( 10.5, 10.5 )
- hint_tooltip = "Move"
- texture = ExtResource( 2 )
- [node name="TextureRect2" type="TextureRect" parent="hb/TextureRect"]
- margin_left = -6.82561
- margin_top = -39.7256
- margin_right = -0.825607
- margin_bottom = 60.2744
- texture = ExtResource( 3 )
- [node name="LineEdit" type="LineEdit" parent="hb"]
- margin_left = 25.0
- margin_right = 83.0
- margin_bottom = 24.0
- hint_tooltip = "Length"
- text = "100"
- max_length = 4
- [node name="CheckBox" type="CheckBox" parent="hb"]
- margin_left = 87.0
- margin_right = 111.0
- margin_bottom = 24.0
- hint_tooltip = "Render glow"
- [node name="LineEdit2" type="LineEdit" parent="hb"]
- margin_left = 115.0
- margin_right = 173.0
- margin_bottom = 24.0
- hint_tooltip = "Rotate"
- text = "0"
- max_length = 3
- [node name="ColorPickerButton" type="ColorPickerButton" parent="hb"]
- margin_left = 177.0
- margin_right = 222.0
- margin_bottom = 24.0
- text = "Color"
- color = Color( 1, 0.431373, 0.258824, 1 )
- edit_alpha = false
- [node name="Button" type="Button" parent="hb"]
- margin_left = 226.0
- margin_right = 248.0
- margin_bottom = 24.0
- hint_tooltip = "Delete"
- custom_styles/hover = SubResource( 1 )
- custom_styles/pressed = SubResource( 2 )
- custom_styles/focus = SubResource( 3 )
- custom_styles/disabled = SubResource( 4 )
- custom_styles/normal = SubResource( 5 )
- text = "Del"
- [connection signal="text_changed" from="hb/LineEdit" to="hb" method="_on_LineEdit_text_changed"]
- [connection signal="pressed" from="hb/CheckBox" to="hb" method="_on_CheckBox_pressed"]
- [connection signal="text_changed" from="hb/LineEdit2" to="hb" method="_on_LineEdit2_text_changed"]
- [connection signal="color_changed" from="hb/ColorPickerButton" to="hb" method="_on_ColorPickerButton_color_changed"]
- [connection signal="pressed" from="hb/Button" to="hb" method="_on_Button_pressed"]
|