broken_seals/game/ui/player/actionbars/ActionBarEntry.tscn

90 lines
2.2 KiB
Plaintext
Raw Normal View History

2019-11-20 14:30:34 +01:00
[gd_scene load_steps=5 format=2]
[ext_resource path="res://ui/player/actionbars/ActionBarEntry.gd" type="Script" id=1]
2019-11-20 14:30:34 +01:00
[ext_resource path="res://ui/theme/cooldown_progress.png" type="Texture" id=2]
[ext_resource path="res://ui/theme/ui_theme.tres" type="Theme" id=3]
[ext_resource path="res://ui/theme/actionbar_dynamicfont.tres" type="DynamicFont" id=5]
[node name="ActionBarEntry" type="TouchButton"]
margin_right = 46.0
margin_bottom = 46.0
rect_min_size = Vector2( 46, 46 )
2019-11-20 14:30:34 +01:00
theme = ExtResource( 3 )
shortcut_in_tooltip = false
action_mode = 0
button_mask = 3
keep_pressed_outside = true
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
button_path = NodePath(".")
icon_path = NodePath("MarginContainer/TextureRect")
cooldown_indicator_path = NodePath("CooldownIndicator")
cooldown_text_path = NodePath("CooldownText")
keybind_text_path = NodePath("KeybindText")
[node name="MarginContainer" type="MarginContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
mouse_filter = 2
custom_constants/margin_right = 2
custom_constants/margin_top = 2
custom_constants/margin_left = 2
custom_constants/margin_bottom = 2
__meta__ = {
"_edit_use_anchors_": false
}
[node name="TextureRect" type="TextureRect" parent="MarginContainer"]
margin_left = 2.0
margin_top = 2.0
margin_right = 44.0
margin_bottom = 44.0
2019-11-20 14:30:34 +01:00
mouse_filter = 2
size_flags_horizontal = 3
size_flags_vertical = 3
expand = true
[node name="CooldownIndicator" type="TextureProgress" parent="."]
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
mouse_filter = 2
size_flags_horizontal = 3
size_flags_vertical = 3
step = 0.0
texture_progress = ExtResource( 2 )
fill_mode = 5
nine_patch_stretch = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="CooldownText" type="Label" parent="."]
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
size_flags_horizontal = 3
size_flags_vertical = 3
custom_fonts/font = ExtResource( 5 )
align = 1
valign = 1
clip_text = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="KeybindText" type="Label" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 2.0
margin_top = 2.0
margin_right = -2.0
margin_bottom = -2.0
size_flags_horizontal = 3
size_flags_vertical = 3
__meta__ = {
"_edit_use_anchors_": false
}