ChocolateBird/widgets/ColorMenu.tscn

60 lines
1.4 KiB
Plaintext
Raw Permalink Normal View History

2023-07-31 15:18:02 +09:30
[gd_scene load_steps=3 format=2]
[ext_resource path="res://theme/menu_theme.tres" type="Theme" id=1]
[ext_resource path="res://widgets/ColorMenu.gd" type="Script" id=2]
[node name="Panel" type="Panel"]
margin_right = 85.0
margin_bottom = 64.0
theme = ExtResource( 1 )
script = ExtResource( 2 )
[node name="Label" type="Label" parent="."]
margin_left = 4.0
margin_top = 3.0
margin_right = 79.0
margin_bottom = 62.0
text = "Menu Color
R
G
B"
[node name="label_nums" type="Label" parent="."]
margin_left = 4.0
margin_top = 3.0
margin_right = 79.0
margin_bottom = 62.0
text = "
0
0
0"
align = 2
[node name="slider_r" type="HSlider" parent="."]
2023-09-21 15:26:10 +09:30
unique_name_in_owner = true
2023-07-31 15:18:02 +09:30
margin_left = 18.0
margin_top = 21.0
margin_right = 58.0
margin_bottom = 29.0
max_value = 31.0
[node name="slider_g" type="HSlider" parent="."]
2023-09-21 15:26:10 +09:30
unique_name_in_owner = true
2023-07-31 15:18:02 +09:30
margin_left = 18.0
margin_top = 36.0
margin_right = 58.0
margin_bottom = 44.0
max_value = 31.0
[node name="slider_b" type="HSlider" parent="."]
2023-09-21 15:26:10 +09:30
unique_name_in_owner = true
2023-07-31 15:18:02 +09:30
margin_left = 18.0
margin_top = 51.0
margin_right = 58.0
margin_bottom = 59.0
max_value = 31.0
[connection signal="value_changed" from="slider_r" to="." method="_on_slider_r_value_changed"]
[connection signal="value_changed" from="slider_g" to="." method="_on_slider_g_value_changed"]
[connection signal="value_changed" from="slider_b" to="." method="_on_slider_b_value_changed"]