mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-02-01 07:59:48 +00:00
39 lines
989 B
Plaintext
39 lines
989 B
Plaintext
|
[gd_scene load_steps=4 format=2]
|
||
|
|
||
|
[ext_resource path="res://src/UI/Nodes/GradientEdit.gd" type="Script" id=1]
|
||
|
|
||
|
[sub_resource type="Gradient" id=1]
|
||
|
|
||
|
[sub_resource type="GradientTexture" id=2]
|
||
|
gradient = SubResource( 1 )
|
||
|
|
||
|
[node name="GradientEdit" type="TextureRect"]
|
||
|
anchor_right = 1.0
|
||
|
anchor_bottom = 1.0
|
||
|
texture = SubResource( 2 )
|
||
|
expand = true
|
||
|
script = ExtResource( 1 )
|
||
|
|
||
|
[node name="Popup" type="PopupPanel" parent="."]
|
||
|
margin_right = 316.0
|
||
|
margin_bottom = 470.0
|
||
|
|
||
|
[node name="ColorPicker" type="ColorPicker" parent="Popup"]
|
||
|
margin_left = 4.0
|
||
|
margin_top = 4.0
|
||
|
margin_right = 312.0
|
||
|
margin_bottom = 466.0
|
||
|
|
||
|
[node name="Value" type="Label" parent="."]
|
||
|
anchor_left = 0.5
|
||
|
anchor_top = 0.5
|
||
|
anchor_right = 0.5
|
||
|
anchor_bottom = 0.5
|
||
|
margin_left = -20.0
|
||
|
margin_top = -7.0
|
||
|
margin_right = 20.0
|
||
|
margin_bottom = 7.0
|
||
|
|
||
|
[connection signal="resized" from="." to="." method="_on_GradientEdit_resized"]
|
||
|
[connection signal="color_changed" from="Popup/ColorPicker" to="." method="_on_ColorPicker_color_changed"]
|