Skip to content

Commit

Permalink
Consolidated font icon use
Browse files Browse the repository at this point in the history
  • Loading branch information
CriticalFlaw committed Oct 30, 2022
1 parent 25f59c8 commit df3e170
Show file tree
Hide file tree
Showing 33 changed files with 121 additions and 179 deletions.
8 changes: 4 additions & 4 deletions resource/links.res
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"zpos" "2"
"wide" "f0"
"tall" "f0"
"font" "CustomIcons"
"font" "SmallIcons"
"labelText" "Y"
"enabled" "1"
"visible" "1"
Expand Down Expand Up @@ -102,7 +102,7 @@
"zpos" "2"
"wide" "f0"
"tall" "f0"
"font" "CustomIcons"
"font" "SmallIcons"
"labelText" "Z"
"enabled" "1"
"visible" "1"
Expand Down Expand Up @@ -158,7 +158,7 @@
"zpos" "2"
"wide" "f0"
"tall" "f0"
"font" "CustomIcons"
"font" "SmallIcons"
"labelText" ""
"enabled" "1"
"visible" "1"
Expand Down Expand Up @@ -212,7 +212,7 @@
"zpos" "2"
"wide" "f0"
"tall" "f0"
"font" "CustomIcons"
"font" "SmallIcons"
"labelText" ""
"enabled" "1"
"visible" "1"
Expand Down
66 changes: 4 additions & 62 deletions resource/scheme/clientscheme_icons.res
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,6 @@ Scheme
{
Fonts
{
"MenuArrows"
{
"1"
{
"name" "TF2Icons"
"tall" "15"
"weight" "400"
"additive" "0"
"antialias" "1"
}
}

"NormalIcons"
{
"1"
{
"name" "TF2Icons"
"tall" "25"
"weight" "0"
"additive" "0"
"antialias" "1"
}
}

"LargeIcons"
{
"1"
Expand All @@ -38,19 +14,19 @@ Scheme
}
}

"MenuIcons"
"MediumIcons"
{
"1"
{
"name" "TF2Icons"
"tall" "15"
"tall" "25"
"weight" "0"
"additive" "0"
"antialias" "1"
}
}

"CustomIcons"
"SmallIcons"
{
"1"
{
Expand All @@ -62,19 +38,7 @@ Scheme
}
}

"ClassIcons"
{
"1"
{
"name" "TF2Icons"
"tall" "25"
"weight" "0"
"additive" "0"
"antialias" "1"
}
}

"FontIcons12"
"SmallerIcons"
{
"1"
{
Expand All @@ -85,28 +49,6 @@ Scheme
"antialias" "1"
}
}
"FontIcons10"
{
"1"
{
"name" "TF2Icons"
"tall" "10"
"weight" "0"
"additive" "0"
"antialias" "1"
}
}
"FontIcons8"
{
"1"
{
"name" "TF2Icons"
"tall" "8"
"weight" "0"
"additive" "0"
"antialias" "1"
}
}
}

CustomFontFiles
Expand Down
14 changes: 7 additions & 7 deletions resource/tools.res
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"enabled" "1"
"tabPosition" "0"
"labeltext" "("
"font" "CustomIcons"
"font" "SmallIcons"
"textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
Expand Down Expand Up @@ -402,7 +402,7 @@
"labelText" "#"
"command" "engine hud_combattext 1;hud_combattext_red 255;hud_combattext_green 255;hud_combattext_blue 255"
"actionsignallevel" "2"
"font" "CustomIcons"
"font" "SmallIcons"
"textAlignment" "center"
"paintbackground" "0"

Expand Down Expand Up @@ -432,7 +432,7 @@
"labelText" "#"
"command" "engine hud_combattext 1;hud_combattext_red 255;hud_combattext_green 255;hud_combattext_blue 0"
"actionsignallevel" "2"
"font" "CustomIcons"
"font" "SmallIcons"
"textAlignment" "center"
"paintbackground" "0"

Expand Down Expand Up @@ -462,7 +462,7 @@
"labelText" "#"
"command" "engine hud_combattext 1;hud_combattext_red 255;hud_combattext_green 0;hud_combattext_blue 0"
"actionsignallevel" "2"
"font" "CustomIcons"
"font" "SmallIcons"
"textAlignment" "center"
"paintbackground" "0"

Expand Down Expand Up @@ -492,7 +492,7 @@
"labelText" "#"
"command" "engine hud_combattext 1;hud_combattext_red 0;hud_combattext_green 255;hud_combattext_blue 0"
"actionsignallevel" "2"
"font" "CustomIcons"
"font" "SmallIcons"
"textAlignment" "center"
"paintbackground" "0"

Expand Down Expand Up @@ -522,7 +522,7 @@
"labelText" "#"
"command" "engine hud_combattext 1;hud_combattext_red 0;hud_combattext_green 255;hud_combattext_blue 255"
"actionsignallevel" "2"
"font" "CustomIcons"
"font" "SmallIcons"
"textAlignment" "center"
"paintbackground" "0"

Expand Down Expand Up @@ -552,7 +552,7 @@
"labelText" "#"
"command" "engine hud_combattext 1;hud_combattext_red 255;hud_combattext_green 0;hud_combattext_blue 255"
"actionsignallevel" "2"
"font" "CustomIcons"
"font" "SmallIcons"
"textAlignment" "center"
"paintbackground" "0"

Expand Down
4 changes: 2 additions & 2 deletions resource/ui/charinfoarmorysubpanel.res
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@
"enabled" "1"
"tabPosition" "0"
"labelText" "&A"
"font" "MenuArrows"
"font" "SmallIcons"
"textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
Expand Down Expand Up @@ -306,7 +306,7 @@
"enabled" "1"
"tabPosition" "0"
"labelText" "&D"
"font" "MenuArrows"
"font" "SmallIcons"
"textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
Expand Down
14 changes: 7 additions & 7 deletions resource/ui/charinfoloadoutsubpanel.res
Original file line number Diff line number Diff line change
Expand Up @@ -1189,7 +1189,7 @@
"enabled" "1"
"tabPosition" "0"
"labeltext" "("
"font" "CustomIcons"
"font" "SmallIcons"
"textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
Expand Down Expand Up @@ -1347,7 +1347,7 @@
"enabled" "1"
"tabPosition" "0"
"labeltext" "("
"font" "CustomIcons"
"font" "SmallIcons"
"textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
Expand Down Expand Up @@ -1554,7 +1554,7 @@
"enabled" "1"
"tabPosition" "0"
"labeltext" "("
"font" "CustomIcons"
"font" "SmallIcons"
"textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
Expand Down Expand Up @@ -1761,7 +1761,7 @@
"enabled" "1"
"tabPosition" "0"
"labeltext" "("
"font" "CustomIcons"
"font" "SmallIcons"
"textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
Expand Down Expand Up @@ -1968,7 +1968,7 @@
"enabled" "1"
"tabPosition" "0"
"labeltext" "("
"font" "CustomIcons"
"font" "SmallIcons"
"textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
Expand Down Expand Up @@ -2175,7 +2175,7 @@
"enabled" "1"
"tabPosition" "0"
"labeltext" "("
"font" "CustomIcons"
"font" "SmallIcons"
"textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
Expand Down Expand Up @@ -2381,7 +2381,7 @@
"enabled" "1"
"tabPosition" "0"
"labeltext" "("
"font" "CustomIcons"
"font" "SmallIcons"
"textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
Expand Down
6 changes: 3 additions & 3 deletions resource/ui/classloadoutpanel.res
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"enabled" "1"
"tabPosition" "0"
"labelText" "w"
"font" "CustomIcons"
"font" "SmallIcons"
"textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
Expand Down Expand Up @@ -371,7 +371,7 @@
"tabPosition" "0"
"labelText" "B"
"textAlignment" "center"
"font" "CustomIcons"
"font" "SmallIcons"
"scaleImage" "1"
"Command" "characterloadout"
"paintbackground" "1"
Expand Down Expand Up @@ -403,7 +403,7 @@
"tabPosition" "0"
"labelText" "C"
"textAlignment" "center"
"font" "CustomIcons"
"font" "SmallIcons"
"scaleImage" "1"
"Command" "tauntloadout"
"paintbackground" "1"
Expand Down
18 changes: 9 additions & 9 deletions resource/ui/classselection.res
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"visible" "1"
"enabled" "1"
"labelText" "&1"
"font" "ClassIcons"
"font" "MediumIcons"
"textAlignment" "north"
"use_proportional_insets" "1"
"Command" "loadout scout"
Expand Down Expand Up @@ -142,7 +142,7 @@
"visible" "1"
"enabled" "1"
"labelText" "&2"
"font" "ClassIcons"
"font" "MediumIcons"
"textAlignment" "center"
"use_proportional_insets" "1"
"Command" "loadout soldier"
Expand Down Expand Up @@ -209,7 +209,7 @@
"visible" "1"
"enabled" "1"
"labelText" "&3"
"font" "ClassIcons"
"font" "MediumIcons"
"textAlignment" "center"
"use_proportional_insets" "1"
"Command" "loadout pyro"
Expand Down Expand Up @@ -276,7 +276,7 @@
"visible" "1"
"enabled" "1"
"labelText" "&4"
"font" "ClassIcons"
"font" "MediumIcons"
"textAlignment" "center"
"use_proportional_insets" "1"
"Command" "loadout demoman"
Expand Down Expand Up @@ -343,7 +343,7 @@
"visible" "1"
"enabled" "1"
"labelText" "&5"
"font" "ClassIcons"
"font" "MediumIcons"
"textAlignment" "center"
"use_proportional_insets" "1"
"Command" "loadout heavyweapons"
Expand Down Expand Up @@ -410,7 +410,7 @@
"visible" "1"
"enabled" "1"
"labelText" "&6"
"font" "ClassIcons"
"font" "MediumIcons"
"textAlignment" "center"
"use_proportional_insets" "1"
"Command" "loadout engineer"
Expand Down Expand Up @@ -477,7 +477,7 @@
"visible" "1"
"enabled" "1"
"labelText" "&7"
"font" "ClassIcons"
"font" "MediumIcons"
"textAlignment" "center"
"use_proportional_insets" "1"
"Command" "loadout medic"
Expand Down Expand Up @@ -544,7 +544,7 @@
"visible" "1"
"enabled" "1"
"labelText" "&8"
"font" "ClassIcons"
"font" "MediumIcons"
"textAlignment" "center"
"use_proportional_insets" "1"
"Command" "loadout sniper"
Expand Down Expand Up @@ -611,7 +611,7 @@
"visible" "1"
"enabled" "1"
"labelText" "&9"
"font" "ClassIcons"
"font" "MediumIcons"
"textAlignment" "center"
"use_proportional_insets" "1"
"Command" "loadout spy"
Expand Down
Loading

0 comments on commit df3e170

Please sign in to comment.