- added localization to the Forge and History panels.

- added two new options for forge and history on the main menu (orange cogwheel).
- added tutorial frames for forge and history panels.
This commit is contained in:
Tercio
2017-06-26 14:30:17 -03:00
parent 520d7e64c9
commit de4f6b2a62
4 changed files with 92 additions and 19 deletions
+15 -2
View File
@@ -5761,15 +5761,28 @@ local build_mode_list = function (self, elapsed)
CoolTip:SetWallpaper (2, _detalhes.tooltip.menus_bg_texture, _detalhes.tooltip.menus_bg_coords, _detalhes.tooltip.menus_bg_color, true)
--> options
--> space
GameCooltip:AddLine ("$div")
--> forge and history buttons
CoolTip:AddLine (Loc ["STRING_MODE_OPENFORGE"])
CoolTip:AddMenu (1, _detalhes.OpenForge)
CoolTip:AddIcon ([[Interface\MINIMAP\Vehicle-HammerGold-3]], 1, 1, 16, 16, 0, 1, 0, 1)
CoolTip:AddLine (Loc ["STRING_MODE_OPENGUILDDAMAGERANK"])
CoolTip:AddMenu (1, _detalhes.OpenRaidHistoryWindow)
CoolTip:AddIcon ([[Interface\PvPRankBadges\PvPRank08]], 1, 1, 16, 16, 0, 1, 0, 1)
--> space
GameCooltip:AddLine ("$div")
--> options
CoolTip:AddLine (Loc ["STRING_OPTIONS_WINDOW"])
CoolTip:AddMenu (1, _detalhes.OpenOptionsWindow)
CoolTip:AddIcon ([[Interface\AddOns\Details\images\modo_icones]], 1, 1, 20, 20, 0.5, 0.625, 0, 1)
--> finishes the menu
_detalhes:SetMenuOwner (self, instancia)
CoolTip:SetBackdrop (1, menus_backdrop, nil, menus_bordercolor)
CoolTip:SetBackdrop (2, menus_backdrop, nil, menus_bordercolor)
CoolTip:SetWallpaper (1, _detalhes.tooltip.menus_bg_texture, _detalhes.tooltip.menus_bg_coords, _detalhes.tooltip.menus_bg_color, true)