online multiplayer chess game (note server currently down)
Diffstat (limited to 'ui/menus/local_multiplayer/EngineDepthSlider.tscn')
| -rw-r--r-- | ui/menus/local_multiplayer/EngineDepthSlider.tscn | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/ui/menus/local_multiplayer/EngineDepthSlider.tscn b/ui/menus/local_multiplayer/EngineDepthSlider.tscn new file mode 100644 index 0000000..ff12f58 --- /dev/null +++ b/ui/menus/local_multiplayer/EngineDepthSlider.tscn @@ -0,0 +1,43 @@ +[gd_scene load_steps=3 format=2] + +[ext_resource path="res://ui/menus/local_multiplayer/EngineDepth.gd" type="Script" id=1] +[ext_resource path="res://ui/theme/main.theme" type="Theme" id=2] + +[node name="EngineDepthSlider" type="HBoxContainer" groups=["freeifnoengine"]] +margin_top = 238.0 +margin_right = 650.0 +margin_bottom = 272.0 +hint_tooltip = "more depth, more smart, more time spent thinky. +depth 20: 10-30 seconds." +mouse_filter = 0 +theme = ExtResource( 2 ) +script = ExtResource( 1 ) + +[node name="DepthLabel" type="Label" parent="."] +margin_right = 198.0 +margin_bottom = 34.0 +text = "engine depth:" + +[node name="DepthSlider" type="HSlider" parent="."] +unique_name_in_owner = true +margin_left = 208.0 +margin_right = 585.0 +margin_bottom = 34.0 +mouse_filter = 1 +size_flags_horizontal = 3 +size_flags_vertical = 3 +min_value = 1.0 +value = 5.0 +rounded = true + +[node name="CurrentDepthLabel" type="Label" parent="."] +unique_name_in_owner = true +margin_left = 595.0 +margin_right = 650.0 +margin_bottom = 34.0 +rect_min_size = Vector2( 55, 0 ) +text = "1" +align = 1 +valign = 1 + +[connection signal="value_changed" from="DepthSlider" to="." method="_slid"] |