mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
Added missed Button font_hover_pressed_color
style
This commit is contained in:
parent
1f5669d8d4
commit
64971bcc8a
@ -124,6 +124,9 @@
|
|||||||
<theme_item name="font_hover_color" type="Color" default="Color( 0.94, 0.94, 0.94, 1 )">
|
<theme_item name="font_hover_color" type="Color" default="Color( 0.94, 0.94, 0.94, 1 )">
|
||||||
Text [Color] used when the [Button] is being hovered.
|
Text [Color] used when the [Button] is being hovered.
|
||||||
</theme_item>
|
</theme_item>
|
||||||
|
<theme_item name="font_hover_pressed_color" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||||
|
Text [Color] used when the [Button] is being hovered and pressed.
|
||||||
|
</theme_item>
|
||||||
<theme_item name="font_outline_color" type="Color" default="Color( 1, 1, 1, 1 )">
|
<theme_item name="font_outline_color" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||||
Text outline [Color] of the [Button].
|
Text outline [Color] of the [Button].
|
||||||
</theme_item>
|
</theme_item>
|
||||||
@ -149,7 +152,7 @@
|
|||||||
Icon modulate [Color] used when the [Button] is being hovered and pressed.
|
Icon modulate [Color] used when the [Button] is being hovered and pressed.
|
||||||
</theme_item>
|
</theme_item>
|
||||||
<theme_item name="icon_normal_color" type="Color" default="Color( 1, 1, 1, 1 )">
|
<theme_item name="icon_normal_color" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||||
Default icon [Color] of the [Button].
|
Default icon modulate [Color] of the [Button].
|
||||||
</theme_item>
|
</theme_item>
|
||||||
<theme_item name="icon_pressed_color" type="Color" default="Color( 1, 1, 1, 1 )">
|
<theme_item name="icon_pressed_color" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||||
Icon modulate [Color] used when the [Button] is being pressed.
|
Icon modulate [Color] used when the [Button] is being pressed.
|
||||||
|
@ -188,6 +188,7 @@ void fill_default_theme(Ref<Theme> &theme, const Ref<Font> &default_font, const
|
|||||||
theme->set_color("font_color", "Button", control_font_color);
|
theme->set_color("font_color", "Button", control_font_color);
|
||||||
theme->set_color("font_pressed_color", "Button", control_font_pressed_color);
|
theme->set_color("font_pressed_color", "Button", control_font_pressed_color);
|
||||||
theme->set_color("font_hover_color", "Button", control_font_hover_color);
|
theme->set_color("font_hover_color", "Button", control_font_hover_color);
|
||||||
|
theme->set_color("font_hover_pressed_color", "Button", control_font_pressed_color);
|
||||||
theme->set_color("font_disabled_color", "Button", control_font_disabled_color);
|
theme->set_color("font_disabled_color", "Button", control_font_disabled_color);
|
||||||
theme->set_color("font_outline_color", "Button", Color(1, 1, 1));
|
theme->set_color("font_outline_color", "Button", Color(1, 1, 1));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user