online multiplayer chess game (note server currently down)
Diffstat (limited to 'ui/barbutton/BarTextureButton.tscn')
| -rw-r--r-- | ui/barbutton/BarTextureButton.tscn | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/ui/barbutton/BarTextureButton.tscn b/ui/barbutton/BarTextureButton.tscn new file mode 100644 index 0000000..b90cbdf --- /dev/null +++ b/ui/barbutton/BarTextureButton.tscn @@ -0,0 +1,25 @@ +[gd_scene load_steps=2 format=2] + +[ext_resource path="res://ui/barbutton/BarTextureButton.gd" type="Script" id=2] + +[node name="BarTextureButton" type="TextureButton"] +margin_right = 50.0 +margin_bottom = 50.0 +rect_min_size = Vector2( 50, 50 ) +mouse_default_cursor_shape = 2 +expand = true +script = ExtResource( 2 ) +normal_color = Color( 0.027451, 0.211765, 0.258824, 1 ) +highlight_color = Color( 0.345098, 0.431373, 0.458824, 1 ) +pressed_color = Color( 0.14902, 0.545098, 0.823529, 1 ) +disabled_color = Color( 0, 0.168627, 0.211765, 1 ) + +[node name="Background" type="ColorRect" parent="."] +show_behind_parent = true +anchor_right = 1.0 +anchor_bottom = 1.0 +mouse_filter = 2 +color = Color( 0.027451, 0.211765, 0.258824, 1 ) + +[connection signal="mouse_entered" from="." to="." method="_focused" binds= [ true ]] +[connection signal="mouse_exited" from="." to="." method="_focused" binds= [ false ]] |