1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-18 17:19:50 +00:00

Change the unpressed textures for checkbox & radio buttons to be like they used to in Godot 3.x

This commit is contained in:
Emmanouil Papadeas 2023-12-07 00:21:39 +02:00
parent df0cbe0bc2
commit 0a57690099
5 changed files with 94 additions and 15 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ybfsxkc2qap7"
path="res://.godot/imported/checkbox_unpressed.png-4c5614ef21e1361f32e7886a1d063053.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/graphics/misc/checkbox_unpressed.png"
dest_files=["res://.godot/imported/checkbox_unpressed.png-4c5614ef21e1361f32e7886a1d063053.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 192 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://brdgp0y4tarar"
path="res://.godot/imported/radio_unpressed.png-a75f2d5cd86ae93980e481d43b3f4550.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/graphics/misc/radio_unpressed.png"
dest_files=["res://.godot/imported/radio_unpressed.png-a75f2d5cd86ae93980e481d43b3f4550.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -1,10 +1,12 @@
[gd_resource type="Theme" load_steps=76 format=3 uid="uid://bka2dkyhkqpmq"] [gd_resource type="Theme" load_steps=78 format=3 uid="uid://bka2dkyhkqpmq"]
[ext_resource type="Texture2D" uid="uid://ct8wn8m6x4m54" path="res://assets/graphics/misc/value_arrow.svg" id="1_5321c"] [ext_resource type="Texture2D" uid="uid://brdgp0y4tarar" path="res://assets/graphics/misc/radio_unpressed.png" id="1_kn20g"]
[ext_resource type="Texture2D" uid="uid://bq8h66v4ie8xl" path="res://assets/graphics/misc/value_arrow_hover.svg" id="2_x2sdh"] [ext_resource type="Texture2D" uid="uid://ybfsxkc2qap7" path="res://assets/graphics/misc/checkbox_unpressed.png" id="2_7juvu"]
[ext_resource type="Texture2D" uid="uid://hhxenhteahv6" path="res://assets/graphics/misc/value_arrow_press.svg" id="3_4mngv"] [ext_resource type="Texture2D" uid="uid://ct8wn8m6x4m54" path="res://assets/graphics/misc/value_arrow.svg" id="3_btpci"]
[ext_resource type="Texture2D" uid="uid://c7u0yofrpm50a" path="res://assets/graphics/misc/value_slider.png" id="4_qvnsa"] [ext_resource type="Texture2D" uid="uid://bq8h66v4ie8xl" path="res://assets/graphics/misc/value_arrow_hover.svg" id="4_qdc67"]
[ext_resource type="FontFile" uid="uid://cvc4lelf6hl7x" path="res://assets/fonts/Roboto-Regular.ttf" id="5_siwvf"] [ext_resource type="Texture2D" uid="uid://hhxenhteahv6" path="res://assets/graphics/misc/value_arrow_press.svg" id="5_hgs3n"]
[ext_resource type="Texture2D" uid="uid://c7u0yofrpm50a" path="res://assets/graphics/misc/value_slider.png" id="6_3ipyf"]
[ext_resource type="FontFile" uid="uid://cvc4lelf6hl7x" path="res://assets/fonts/Roboto-Regular.ttf" id="7_unniq"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_755mo"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_755mo"]
content_margin_left = 8.0 content_margin_left = 8.0
@ -532,7 +534,7 @@ border_color = Color(1, 1, 1, 1)
shadow_color = Color(0, 0, 0, 0.3) shadow_color = Color(0, 0, 0, 0.3)
shadow_size = 4 shadow_size = 4
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_el8kk"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_s2kub"]
content_margin_left = 4.0 content_margin_left = 4.0
content_margin_top = 4.0 content_margin_top = 4.0
content_margin_right = 4.0 content_margin_right = 4.0
@ -651,7 +653,7 @@ expand_margin_bottom = 4.0
[resource] [resource]
resource_name = "Dark" resource_name = "Dark"
default_font = ExtResource("5_siwvf") default_font = ExtResource("7_unniq")
default_font_size = 16 default_font_size = 16
AcceptDialog/styles/panel = SubResource("StyleBoxFlat_755mo") AcceptDialog/styles/panel = SubResource("StyleBoxFlat_755mo")
BoxContainer/constants/separation = 4 BoxContainer/constants/separation = 4
@ -668,6 +670,10 @@ Button/styles/focus = SubResource("23")
Button/styles/hover = SubResource("23") Button/styles/hover = SubResource("23")
Button/styles/normal = SubResource("23") Button/styles/normal = SubResource("23")
Button/styles/pressed = SubResource("StyleBoxFlat_t0f5f") Button/styles/pressed = SubResource("StyleBoxFlat_t0f5f")
CheckBox/icons/radio_unchecked = ExtResource("1_kn20g")
CheckBox/icons/radio_unchecked_disabled = ExtResource("1_kn20g")
CheckBox/icons/unchecked = ExtResource("2_7juvu")
CheckBox/icons/unchecked_disabled = ExtResource("2_7juvu")
CheckBox/styles/disabled = SubResource("StyleBoxFlat_lbyuh") CheckBox/styles/disabled = SubResource("StyleBoxFlat_lbyuh")
CheckBox/styles/focus = SubResource("StyleBoxFlat_4dymj") CheckBox/styles/focus = SubResource("StyleBoxFlat_4dymj")
CheckBox/styles/hover = SubResource("StyleBoxFlat_4jbvl") CheckBox/styles/hover = SubResource("StyleBoxFlat_4jbvl")
@ -681,7 +687,7 @@ CheckButton/styles/hover_pressed = SubResource("StyleBoxFlat_viauy")
CheckButton/styles/normal = SubResource("StyleBoxFlat_ygru1") CheckButton/styles/normal = SubResource("StyleBoxFlat_ygru1")
CheckButton/styles/pressed = SubResource("StyleBoxFlat_h750t") CheckButton/styles/pressed = SubResource("StyleBoxFlat_h750t")
CollapsibleContainer/base_type = &"VBoxContainer" CollapsibleContainer/base_type = &"VBoxContainer"
CollapsibleContainer/icons/arrow_normal = ExtResource("1_5321c") CollapsibleContainer/icons/arrow_normal = ExtResource("3_btpci")
ColorPicker/constants/h_width = 28 ColorPicker/constants/h_width = 28
ColorPicker/constants/margin = 8 ColorPicker/constants/margin = 8
ColorPickerButton/styles/disabled = null ColorPickerButton/styles/disabled = null
@ -749,6 +755,10 @@ Panel/styles/panel = SubResource("103")
PanelContainer/styles/panel = SubResource("104") PanelContainer/styles/panel = SubResource("104")
PopupMenu/colors/font_color = Color(0.77832, 0.77832, 0.77832, 1) PopupMenu/colors/font_color = Color(0.77832, 0.77832, 0.77832, 1)
PopupMenu/colors/font_disabled_color = Color(0.776471, 0.776471, 0.776471, 0.501961) PopupMenu/colors/font_disabled_color = Color(0.776471, 0.776471, 0.776471, 0.501961)
PopupMenu/icons/radio_unchecked = ExtResource("1_kn20g")
PopupMenu/icons/radio_unchecked_disabled = ExtResource("1_kn20g")
PopupMenu/icons/unchecked = ExtResource("2_7juvu")
PopupMenu/icons/unchecked_disabled = ExtResource("2_7juvu")
PopupMenu/styles/hover = SubResource("112") PopupMenu/styles/hover = SubResource("112")
PopupMenu/styles/labeled_separator_left = SubResource("113") PopupMenu/styles/labeled_separator_left = SubResource("113")
PopupMenu/styles/labeled_separator_right = SubResource("114") PopupMenu/styles/labeled_separator_right = SubResource("114")
@ -804,7 +814,8 @@ Tree/colors/guide_color = Color(1, 1, 1, 0.05)
Tree/colors/relationship_line_color = Color(1, 1, 1, 0.1) Tree/colors/relationship_line_color = Color(1, 1, 1, 0.1)
Tree/colors/title_button_color = Color(0.77832, 0.77832, 0.77832, 1) Tree/colors/title_button_color = Color(0.77832, 0.77832, 0.77832, 1)
Tree/constants/scroll_border = 40 Tree/constants/scroll_border = 40
Tree/styles/bg = SubResource("StyleBoxFlat_el8kk") Tree/icons/unchecked = ExtResource("2_7juvu")
Tree/styles/bg = SubResource("StyleBoxFlat_s2kub")
Tree/styles/button_pressed = SubResource("156") Tree/styles/button_pressed = SubResource("156")
Tree/styles/cursor = SubResource("157") Tree/styles/cursor = SubResource("157")
Tree/styles/cursor_unfocused = SubResource("157") Tree/styles/cursor_unfocused = SubResource("157")
@ -829,12 +840,12 @@ VSplitContainer/constants/separation = 8
ValueSlider/base_type = &"TextureProgressBar" ValueSlider/base_type = &"TextureProgressBar"
ValueSlider/colors/progress_color = Color(0.231373, 0.231373, 0.231373, 1) ValueSlider/colors/progress_color = Color(0.231373, 0.231373, 0.231373, 1)
ValueSlider/colors/under_color = Color(0.0666667, 0.0666667, 0.0666667, 1) ValueSlider/colors/under_color = Color(0.0666667, 0.0666667, 0.0666667, 1)
ValueSlider/icons/arrow_hover = ExtResource("2_x2sdh") ValueSlider/icons/arrow_hover = ExtResource("4_qdc67")
ValueSlider/icons/arrow_normal = ExtResource("1_5321c") ValueSlider/icons/arrow_normal = ExtResource("3_btpci")
ValueSlider/icons/arrow_pressed = ExtResource("3_4mngv") ValueSlider/icons/arrow_pressed = ExtResource("5_hgs3n")
ValueSlider/icons/texture_over = null ValueSlider/icons/texture_over = null
ValueSlider/icons/texture_progress = ExtResource("4_qvnsa") ValueSlider/icons/texture_progress = ExtResource("6_3ipyf")
ValueSlider/icons/texture_under = ExtResource("4_qvnsa") ValueSlider/icons/texture_under = ExtResource("6_3ipyf")
Window/colors/title_color = Color(0.776471, 0.776471, 0.776471, 1) Window/colors/title_color = Color(0.776471, 0.776471, 0.776471, 1)
Window/constants/title_height = 24 Window/constants/title_height = 24
Window/styles/embedded_border = SubResource("StyleBoxFlat_pgljm") Window/styles/embedded_border = SubResource("StyleBoxFlat_pgljm")