diff options
| author | CriticalFlaw <[email protected]> | 2021-04-03 23:12:33 -0400 |
|---|---|---|
| committer | CriticalFlaw <[email protected]> | 2021-04-03 23:12:33 -0400 |
| commit | d827c48c5fd7de1320d9e639bc9cb91f03d7228c (patch) | |
| tree | 78ac538e21f0bd54bf5776884828568c7acaf8ec | |
| parent | 7f0aed2689c1f120829424dba8b66b4b77d1418d (diff) | |
Added tooltips to main menu buttons
| -rw-r--r-- | customizations/main_menu/mainmenuoverride-classic.res | 129 | ||||
| -rw-r--r-- | customizations/main_menu/mainmenuoverride.res | 129 | ||||
| -rw-r--r-- | resource/fonts/Icons.otf | bin | 49608 -> 52340 bytes | |||
| -rw-r--r-- | resource/gamemenu.res | 13 | ||||
| -rw-r--r-- | resource/scheme/clientscheme_colors.res | 4 | ||||
| -rw-r--r-- | resource/ui/mainmenuoverride.res | 122 |
6 files changed, 137 insertions, 260 deletions
diff --git a/customizations/main_menu/mainmenuoverride-classic.res b/customizations/main_menu/mainmenuoverride-classic.res index b040e7e..22b0bd1 100644 --- a/customizations/main_menu/mainmenuoverride-classic.res +++ b/customizations/main_menu/mainmenuoverride-classic.res @@ -424,135 +424,6 @@ } } - "QuestLogButton" - { - "ControlName" "EditablePanel" - "fieldName" "QuestLogButton" - "xpos" "rs1-10" - "ypos" "65" - "zpos" "1" - "wide" "20" - "tall" "20" - "autoResize" "0" - "pinCorner" "3" - "visible" "1" - "enabled" "1" - "tabPosition" "0" - - "SubButton" - { - "ControlName" "CExImageButton" - "fieldName" "SubButton" - "xpos" "0" - "ypos" "0" - "wide" "20" - "tall" "20" - "autoResize" "0" - "pinCorner" "3" - "visible" "1" - "enabled" "1" - "tabPosition" "0" - "labelText" "r" - "font" "CustomIcons" - "command" "questlog" - "proportionaltoparent" "1" - "textAlignment" "center" - "default" "1" - "actionsignallevel" "2" - "paintbackground" "0" - "paintborder" "0" - "sound_depressed" "UI/buttonclick.wav" - "sound_released" "UI/buttonclickrelease.wav" - - "defaultFgColor_override" "235 226 202 255" - "armedFgColor_override" "72 255 255 255" - } - } - - "MOTD_ShowButtonPanel" - { - "ControlName" "EditablePanel" - "fieldName" "MOTD_ShowButtonPanel" - "xpos" "rs1-10" - "ypos" "90" - "zpos" "0" - "wide" "20" - "tall" "20" - "autoResize" "0" - "pinCorner" "3" - "visible" "1" - "enabled" "1" - "tabPosition" "0" - - "SubButton" - { - "ControlName" "CExImageButton" - "fieldName" "SubButton" - "xpos" "0" - "ypos" "0" - "wide" "20" - "tall" "20" - "autoResize" "0" - "pinCorner" "3" - "visible" "1" - "enabled" "1" - "tabPosition" "0" - "labelText" "o" - "font" "CustomIcons" - "command" "motd_show" - "use_proportional_insets" "1" - "textAlignment" "center" - "default" "1" - "actionsignallevel" "2" - "paintbackground" "0" - "paintborder" "0" - "sound_depressed" "UI/buttonclick.wav" - "sound_released" "UI/buttonclickrelease.wav" - - "defaultFgColor_override" "235 226 202 255" - "armedFgColor_override" "72 255 255 255" - } - } - - "RefreshHUDButton" - { - "ControlName" "EditablePanel" - "fieldName" "RefreshHUDButton" - "xpos" "rs1-09" - "ypos" "115" - "zpos" "1" - "wide" "20" - "tall" "20" - "visible" "1" - - "SubButton" - { - "ControlName" "CExImageButton" - "fieldName" "SubButton" - "xpos" "0" - "ypos" "0" - "wide" "20" - "tall" "20" - "autoResize" "0" - "pinCorner" "3" - "visible" "1" - "enabled" "1" - "tabPosition" "0" - "font" "CustomIcons" - "use_proportional_insets" "1" - "textAlignment" "center" - "default" "1" - "actionsignallevel" "2" - "paintbackground" "0" - "paintborder" "0" - "sound_depressed" "UI/buttonclick.wav" - "sound_released" "UI/buttonclickrelease.wav" - - "defaultFgColor_override" "235 226 202 255" - "armedFgColor_override" "72 255 255 255" - } - } - "MOTD_Panel" { "ControlName" "EditablePanel" diff --git a/customizations/main_menu/mainmenuoverride.res b/customizations/main_menu/mainmenuoverride.res index e0e8e8f..44caa70 100644 --- a/customizations/main_menu/mainmenuoverride.res +++ b/customizations/main_menu/mainmenuoverride.res @@ -457,135 +457,6 @@ } } - "QuestLogButton" - { - "ControlName" "EditablePanel" - "fieldName" "QuestLogButton" - "xpos" "rs1-10" - "ypos" "65" - "zpos" "1" - "wide" "20" - "tall" "20" - "autoResize" "0" - "pinCorner" "3" - "visible" "1" - "enabled" "1" - "tabPosition" "0" - - "SubButton" - { - "ControlName" "CExImageButton" - "fieldName" "SubButton" - "xpos" "0" - "ypos" "0" - "wide" "20" - "tall" "20" - "autoResize" "0" - "pinCorner" "3" - "visible" "1" - "enabled" "1" - "tabPosition" "0" - "labelText" "r" - "font" "CustomIcons" - "command" "questlog" - "proportionaltoparent" "1" - "textAlignment" "center" - "default" "1" - "actionsignallevel" "2" - "paintbackground" "0" - "paintborder" "0" - "sound_depressed" "UI/buttonclick.wav" - "sound_released" "UI/buttonclickrelease.wav" - - "defaultFgColor_override" "235 226 202 255" - "armedFgColor_override" "72 255 255 255" - } - } - - "MOTD_ShowButtonPanel" - { - "ControlName" "EditablePanel" - "fieldName" "MOTD_ShowButtonPanel" - "xpos" "rs1-10" - "ypos" "90" - "zpos" "0" - "wide" "20" - "tall" "20" - "autoResize" "0" - "pinCorner" "3" - "visible" "1" - "enabled" "1" - "tabPosition" "0" - - "SubButton" - { - "ControlName" "CExImageButton" - "fieldName" "SubButton" - "xpos" "0" - "ypos" "0" - "wide" "20" - "tall" "20" - "autoResize" "0" - "pinCorner" "3" - "visible" "1" - "enabled" "1" - "tabPosition" "0" - "labelText" "o" - "font" "CustomIcons" - "command" "motd_show" - "use_proportional_insets" "1" - "textAlignment" "center" - "default" "1" - "actionsignallevel" "2" - "paintbackground" "0" - "paintborder" "0" - "sound_depressed" "UI/buttonclick.wav" - "sound_released" "UI/buttonclickrelease.wav" - - "defaultFgColor_override" "235 226 202 255" - "armedFgColor_override" "72 255 255 255" - } - } - - "RefreshHUDButton" - { - "ControlName" "EditablePanel" - "fieldName" "RefreshHUDButton" - "xpos" "rs1-09" - "ypos" "115" - "zpos" "1" - "wide" "20" - "tall" "20" - "visible" "1" - - "SubButton" - { - "ControlName" "CExImageButton" - "fieldName" "SubButton" - "xpos" "0" - "ypos" "0" - "wide" "20" - "tall" "20" - "autoResize" "0" - "pinCorner" "3" - "visible" "1" - "enabled" "1" - "tabPosition" "0" - "font" "CustomIcons" - "use_proportional_insets" "1" - "textAlignment" "center" - "default" "1" - "actionsignallevel" "2" - "paintbackground" "0" - "paintborder" "0" - "sound_depressed" "UI/buttonclick.wav" - "sound_released" "UI/buttonclickrelease.wav" - - "defaultFgColor_override" "235 226 202 255" - "armedFgColor_override" "72 255 255 255" - } - } - "MOTD_Panel" { "ControlName" "EditablePanel" diff --git a/resource/fonts/Icons.otf b/resource/fonts/Icons.otf Binary files differindex 51ce542..ba1c0ec 100644 --- a/resource/fonts/Icons.otf +++ b/resource/fonts/Icons.otf diff --git a/resource/gamemenu.res b/resource/gamemenu.res index 4f05308..5b910d6 100644 --- a/resource/gamemenu.res +++ b/resource/gamemenu.res @@ -58,9 +58,22 @@ "OnlyInGame" "1" "tooltip" "#MMenu_ReportPlayer" } + "QuestLogButton" + { + "label" "r" + "command" "questlog" + "tooltip" "#TF_QuestMap_Intro_Title" + } + "MOTD_ShowButtonPanel" + { + "label" "o" + "command" "motd_show" + "tooltip" "#TF_MOTD_Title" + } "RefreshHUDButton" { "label" "." "command" "engine hud_reloadscheme" + "tooltip" "Refresh HUD" } }
\ No newline at end of file diff --git a/resource/scheme/clientscheme_colors.res b/resource/scheme/clientscheme_colors.res index dbf1f69..e585bb4 100644 --- a/resource/scheme/clientscheme_colors.res +++ b/resource/scheme/clientscheme_colors.res @@ -100,9 +100,9 @@ Scheme "BrightYellow" "251 235 0 255" "GreenSolid" "76 107 34 255" - "Black" "30 30 30 255" + "Black" "29 29 29 255" "Transparent" "0 0 0 0" - "TransparentBlack" "0 0 0 196" + "TransparentBlack" "0 0 0 200" "TransparentLightBlack" "0 0 0 90" "FooterBGBlack" "52 48 55 255" diff --git a/resource/ui/mainmenuoverride.res b/resource/ui/mainmenuoverride.res index 7cb0566..240e08d 100644 --- a/resource/ui/mainmenuoverride.res +++ b/resource/ui/mainmenuoverride.res @@ -35,4 +35,126 @@ "enabled" "1" "scaleImage" "1" } + + "QuestLogButton" + { + "ControlName" "EditablePanel" + "fieldName" "QuestLogButton" + "xpos" "rs1-10" + "ypos" "65" + "zpos" "1" + "wide" "20" + "tall" "20" + "visible" "1" + "enabled" "1" + + "SubButton" + { + "ControlName" "CExImageButton" + "fieldName" "SubButton" + "xpos" "0" + "ypos" "0" + "wide" "20" + "tall" "20" + "autoResize" "0" + "pinCorner" "3" + "visible" "1" + "enabled" "1" + "tabPosition" "0" + "font" "CustomIcons" + "use_proportional_insets" "1" + "textAlignment" "center" + "default" "1" + "actionsignallevel" "2" + "paintbackground" "0" + "paintborder" "0" + "sound_depressed" "UI/buttonclick.wav" + "sound_released" "UI/buttonclickrelease.wav" + "defaultFgColor_override" "235 226 202 255" + "armedFgColor_override" "72 255 255 255" + } + } + + "MOTD_ShowButtonPanel" + { + "ControlName" "EditablePanel" + "fieldName" "MOTD_ShowButtonPanel" + "xpos" "0" + "ypos" "20" + "zpos" "0" + "wide" "20" + "tall" "20" + "visible" "1" + "enabled" "1" + "pin_to_sibling" "QuestLogButton" + "pin_corner_to_sibling" "PIN_BOTTOMLEFT" + "pin_to_sibling_corner" "PIN_BOTTOMLEFT" + + "SubButton" + { + "ControlName" "CExImageButton" + "fieldName" "SubButton" + "xpos" "0" + "ypos" "0" + "wide" "20" + "tall" "20" + "autoResize" "0" + "pinCorner" "3" + "visible" "1" + "enabled" "1" + "tabPosition" "0" + "font" "CustomIcons" + "use_proportional_insets" "1" + "textAlignment" "center" + "default" "1" + "actionsignallevel" "2" + "paintbackground" "0" + "paintborder" "0" + "sound_depressed" "UI/buttonclick.wav" + "sound_released" "UI/buttonclickrelease.wav" + "defaultFgColor_override" "235 226 202 255" + "armedFgColor_override" "72 255 255 255" + } + } + + "RefreshHUDButton" + { + "ControlName" "EditablePanel" + "fieldName" "RefreshHUDButton" + "xpos" "0" + "ypos" "20" + "zpos" "1" + "wide" "20" + "tall" "20" + "visible" "1" + "pin_to_sibling" "MOTD_ShowButtonPanel" + "pin_corner_to_sibling" "PIN_BOTTOMLEFT" + "pin_to_sibling_corner" "PIN_BOTTOMLEFT" + + "SubButton" + { + "ControlName" "CExImageButton" + "fieldName" "SubButton" + "xpos" "0" + "ypos" "0" + "wide" "20" + "tall" "20" + "autoResize" "0" + "pinCorner" "3" + "visible" "1" + "enabled" "1" + "tabPosition" "0" + "font" "CustomIcons" + "use_proportional_insets" "1" + "textAlignment" "center" + "default" "1" + "actionsignallevel" "2" + "paintbackground" "0" + "paintborder" "0" + "sound_depressed" "UI/buttonclick.wav" + "sound_released" "UI/buttonclickrelease.wav" + "defaultFgColor_override" "235 226 202 255" + "armedFgColor_override" "72 255 255 255" + } + } } |
