فهرست منبع

:lipstick: Stylise le panneau des messages de fin de partie

DricomDragon 8 ماه پیش
والد
کامیت
90da001cac

+ 1 - 1
README.md

@@ -28,7 +28,7 @@ Licence : [Creative Commons public domain zero (CC0)](https://creativecommons.or
 
 Les curseurs de souris proviennent [du paquet de curseurs de Kenney](https://kenney.nl/assets/cursor-pack).
 
-La police *kenvector_future_thin.ttf* provient des [ressources pour interface utilisateur de l'espace](https://kenney.nl/assets/ui-pack-space-expansion).
+La police *kenvector_future_thin.ttf* provient des [ressources pour interface utilisateur de l'espace](https://kenney.nl/assets/ui-pack-space-expansion), ainsi que le panneau de fond des menus.
 
 N'hésitez pas à consulter les autres ressources mises à disposition, et à les soutenir dans leur travail !
 

BIN
godot/ressources/theme/glassPanel_cornerTR.png


+ 34 - 0
godot/ressources/theme/glassPanel_cornerTR.png.import

@@ -0,0 +1,34 @@
+[remap]
+
+importer="texture"
+type="CompressedTexture2D"
+uid="uid://butc0qhm0x46k"
+path="res://.godot/imported/glassPanel_cornerTR.png-ed24e666c57daab873a452fe4fc72a4b.ctex"
+metadata={
+"vram_texture": false
+}
+
+[deps]
+
+source_file="res://ressources/theme/glassPanel_cornerTR.png"
+dest_files=["res://.godot/imported/glassPanel_cornerTR.png-ed24e666c57daab873a452fe4fc72a4b.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

+ 11 - 1
godot/ressources/theme/theme_principal.tres

@@ -1,4 +1,6 @@
-[gd_resource type="Theme" load_steps=10 format=3 uid="uid://ds4th0tnauyf3"]
+[gd_resource type="Theme" load_steps=12 format=3 uid="uid://ds4th0tnauyf3"]
+
+[ext_resource type="Texture2D" uid="uid://butc0qhm0x46k" path="res://ressources/theme/glassPanel_cornerTR.png" id="1_mftav"]
 
 [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_mruam"]
 content_margin_left = 15.0
@@ -64,6 +66,13 @@ corner_radius_top_right = 14
 corner_radius_bottom_left = 14
 expand_margin_left = 8.0
 
+[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_wqkee"]
+texture = ExtResource("1_mftav")
+texture_margin_left = 4.0
+texture_margin_top = 16.0
+texture_margin_right = 16.0
+texture_margin_bottom = 4.0
+
 [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_375ov"]
 bg_color = Color(0.592157, 0.643137, 0.843137, 1)
 corner_radius_top_left = 4
@@ -95,6 +104,7 @@ Button/styles/hover = SubResource("StyleBoxFlat_wqxsx")
 Button/styles/normal = SubResource("StyleBoxFlat_b7q87")
 Button/styles/pressed = SubResource("StyleBoxFlat_no27u")
 Panel/styles/panel = SubResource("StyleBoxFlat_cb7d3")
+PanelContainer/styles/panel = SubResource("StyleBoxTexture_wqkee")
 VScrollBar/styles/grabber = SubResource("StyleBoxFlat_375ov")
 VScrollBar/styles/grabber_highlight = SubResource("StyleBoxFlat_omlg4")
 VScrollBar/styles/grabber_pressed = SubResource("StyleBoxFlat_b3tfl")