added license information screeen and resources
This commit is contained in:
parent
21d7cf417a
commit
d437b4809f
23 changed files with 525 additions and 159 deletions
83
ui/license_list/license_entry.tscn
Normal file
83
ui/license_list/license_entry.tscn
Normal file
|
|
@ -0,0 +1,83 @@
|
|||
[gd_scene load_steps=6 format=3 uid="uid://b7raoxonsf116"]
|
||||
|
||||
[ext_resource type="Script" path="res://ui/license_list/license_entry.gd" id="1_fuqxo"]
|
||||
[ext_resource type="FontFile" uid="uid://c80eqcvqyrda0" path="res://assets/fonts/days_one/DaysOne-Regular.ttf" id="2_48yrm"]
|
||||
|
||||
[sub_resource type="FontVariation" id="FontVariation_yq0xd"]
|
||||
base_font = ExtResource("2_48yrm")
|
||||
variation_embolden = 0.5
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_dvghx"]
|
||||
content_margin_left = 6.0
|
||||
content_margin_top = 0.0
|
||||
content_margin_right = 6.0
|
||||
content_margin_bottom = 0.0
|
||||
bg_color = Color(0.1681, 0.228575, 0.41, 1)
|
||||
corner_radius_top_left = 8
|
||||
corner_radius_top_right = 8
|
||||
corner_radius_bottom_right = 8
|
||||
corner_radius_bottom_left = 8
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ug4om"]
|
||||
content_margin_left = 8.0
|
||||
content_margin_right = 8.0
|
||||
draw_center = false
|
||||
border_width_left = 4
|
||||
border_width_top = 4
|
||||
border_width_right = 4
|
||||
border_width_bottom = 4
|
||||
border_color = Color(0.752941, 0.619608, 0.337255, 1)
|
||||
corner_radius_top_left = 8
|
||||
corner_radius_top_right = 8
|
||||
corner_radius_bottom_right = 8
|
||||
corner_radius_bottom_left = 8
|
||||
|
||||
[node name="LicenseEntry" type="VBoxContainer"]
|
||||
script = ExtResource("1_fuqxo")
|
||||
|
||||
[node name="TypeAndName" type="HBoxContainer" parent="."]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="AssetName" type="Label" parent="TypeAndName"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 1
|
||||
theme_override_fonts/font = SubResource("FontVariation_yq0xd")
|
||||
text = "Name of the asset"
|
||||
max_lines_visible = 1
|
||||
|
||||
[node name="PanelContainer" type="PanelContainer" parent="TypeAndName"]
|
||||
layout_mode = 2
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_dvghx")
|
||||
|
||||
[node name="AssetType" type="Label" parent="TypeAndName/PanelContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(1, 1, 1, 1)
|
||||
text = "MUSIC"
|
||||
|
||||
[node name="LicenseContainer" type="PanelContainer" parent="TypeAndName"]
|
||||
layout_mode = 2
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_ug4om")
|
||||
|
||||
[node name="LicenseType" type="Label" parent="TypeAndName/LicenseContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(0.753848, 0.617939, 0.336047, 1)
|
||||
theme_override_font_sizes/font_size = 16
|
||||
text = "CC0"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="AuthorName" type="Label" parent="."]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "by Author Of XYZ"
|
||||
|
||||
[node name="LinkButton" type="LinkButton" parent="."]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 0
|
||||
text = "https://example.com"
|
||||
uri = "https://example.com"
|
||||
Loading…
Add table
Add a link
Reference in a new issue