Added fav icon

This commit is contained in:
Azumgi 2018-01-25 16:04:20 +03:00
parent 18540a3de2
commit 4fa244374a
8 changed files with 68 additions and 0 deletions

Binary file not shown.

View file

@ -0,0 +1,18 @@
common = {
input = {
filename = "gui/header_fav_icon"
}
output = {
apply_processing = true
correct_gamma = true
cut_alpha_threshold = 0.5
enable_cut_alpha_threshold = false
format = "A8R8G8B8"
mipmap_filter = "kaiser"
mipmap_filter_wrap_mode = "mirror"
mipmap_keep_original = false
mipmap_num_largest_steps_to_discard = 0
mipmap_num_smallest_steps_to_discard = 0
srgb = true
}
}

Binary file not shown.

View file

@ -0,0 +1,18 @@
common = {
input = {
filename = "gui/header_fav_icon_lit"
}
output = {
apply_processing = true
correct_gamma = true
cut_alpha_threshold = 0.5
enable_cut_alpha_threshold = false
format = "A8R8G8B8"
mipmap_filter = "kaiser"
mipmap_filter_wrap_mode = "mirror"
mipmap_keep_original = false
mipmap_num_largest_steps_to_discard = 0
mipmap_num_smallest_steps_to_discard = 0
srgb = true
}
}

View file

@ -0,0 +1,14 @@
header_fav_icon = {
material_contexts = {
surface_material = ""
}
shader = "gui_gradient:DIFFUSE_MAP:MASKED"
textures = {
diffuse_map = "gui/header_fav_icon"
}
variables = {
}
}

View file

@ -0,0 +1,14 @@
header_fav_icon_lit = {
material_contexts = {
surface_material = ""
}
shader = "gui_gradient:DIFFUSE_MAP:MASKED"
textures = {
diffuse_map = "gui/header_fav_icon_lit"
}
variables = {
}
}

View file

@ -10,6 +10,8 @@ material = [
"materials/header_background" "materials/header_background"
"materials/header_background_lit" "materials/header_background_lit"
"materials/common_widgets_background_lit" "materials/common_widgets_background_lit"
"materials/header_fav_icon"
"materials/header_fav_icon_lit"
] ]
lua = [ lua = [

View file

@ -12,6 +12,8 @@ local vmf = get_mod("VMF")
inject_material("materials/header_background", "header_background", "ingame_ui") inject_material("materials/header_background", "header_background", "ingame_ui")
inject_material("materials/header_background_lit", "header_background_lit", "ingame_ui") inject_material("materials/header_background_lit", "header_background_lit", "ingame_ui")
inject_material("materials/common_widgets_background_lit", "common_widgets_background_lit", "ingame_ui") inject_material("materials/common_widgets_background_lit", "common_widgets_background_lit", "ingame_ui")
inject_material("materials/header_fav_icon", "header_fav_icon", "ingame_ui")
inject_material("materials/header_fav_icon_lit", "header_fav_icon_lit", "ingame_ui")
--███████╗ ██████╗███████╗███╗ ██╗███████╗ ██████╗ ██████╗ █████╗ ██████╗ ██╗ ██╗███████╗ --███████╗ ██████╗███████╗███╗ ██╗███████╗ ██████╗ ██████╗ █████╗ ██████╗ ██╗ ██╗███████╗
--██╔════╝██╔════╝██╔════╝████╗ ██║██╔════╝██╔════╝ ██╔══██╗██╔══██╗██╔══██╗██║ ██║██╔════╝ --██╔════╝██╔════╝██╔════╝████╗ ██║██╔════╝██╔════╝ ██╔══██╗██╔══██╗██╔══██╗██║ ██║██╔════╝