New screens, new hud, new intro menu, some UI element changes
This commit is contained in:
+3
-13
@@ -152,19 +152,9 @@ func _style_button(btn: Button, big: bool) -> void:
|
||||
|
||||
|
||||
func _plaque(hot: bool) -> StyleBoxFlat:
|
||||
var s := StyleBoxFlat.new()
|
||||
s.bg_color = Color(0.14, 0.09, 0.04, 0.94) if hot else Color(0.07, 0.05, 0.03, 0.82)
|
||||
s.set_border_width_all(2)
|
||||
s.border_width_bottom = 5
|
||||
s.border_color = MENU_CREAM if hot else MENU_GOLD
|
||||
s.set_corner_radius_all(2)
|
||||
s.content_margin_left = 24.0
|
||||
s.content_margin_right = 24.0
|
||||
s.content_margin_top = 8.0
|
||||
s.content_margin_bottom = 10.0
|
||||
s.shadow_color = Color(0.0, 0.0, 0.0, 0.5)
|
||||
s.shadow_size = 6
|
||||
return s
|
||||
var bg := Color(0.14, 0.09, 0.04, 0.94) if hot else Color(0.07, 0.05, 0.03, 0.82)
|
||||
var trim := MENU_CREAM if hot else MENU_GOLD
|
||||
return UiTheme.plaque(bg, trim, 2, 24.0, 9.0)
|
||||
|
||||
|
||||
func _process(_delta: float) -> void:
|
||||
|
||||
Reference in New Issue
Block a user