Checkpoint Player Menu bubble redesign
This commit is contained in:
parent
7a435ca7b8
commit
bcffe2013d
14 changed files with 1062 additions and 152 deletions
18
ui/components/bubble_menu/bubble_status_bubble.gd
Normal file
18
ui/components/bubble_menu/bubble_status_bubble.gd
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
class_name BubbleStatusBubble
|
||||
extends PanelContainer
|
||||
|
||||
@export var profile: BubbleMenuProfile
|
||||
|
||||
@onready var _heading: Label = %Heading
|
||||
@onready var _value: Label = %Value
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
mouse_filter = Control.MOUSE_FILTER_IGNORE
|
||||
if profile != null:
|
||||
add_theme_stylebox_override("panel", profile.make_normal_style())
|
||||
|
||||
|
||||
func set_content(heading: String, value: String) -> void:
|
||||
_heading.text = heading
|
||||
_value.text = value
|
||||
Loading…
Add table
Add a link
Reference in a new issue