comparison Loot.lua @ 61:cf2b6b9a8337 v23

6.2 update, shopping list bug fixes, ui scale option
author yellowfive
date Tue, 23 Jun 2015 00:27:21 -0700
parents 01b63b8ed811
children
comparison
equal deleted inserted replaced
60:017c05f42fd4 61:cf2b6b9a8337
954 _frameLoot:SetWidth(900) 954 _frameLoot:SetWidth(900)
955 _frameLoot:SetHeight(600) 955 _frameLoot:SetHeight(600)
956 _frameLoot:SetBorderColor(Amr.Colors.BorderBlue) 956 _frameLoot:SetBorderColor(Amr.Colors.BorderBlue)
957 _frameLoot:SetBackgroundColor(Amr.Colors.Bg) 957 _frameLoot:SetBackgroundColor(Amr.Colors.Bg)
958 958
959 if Amr.db.profile.options.uiScale ~= 1 then
960 local scale = tonumber(Amr.db.profile.options.uiScale)
961 _frameLoot:SetScale(scale)
962 end
963
959 local lbl = AceGUI:Create("AmrUiLabel") 964 local lbl = AceGUI:Create("AmrUiLabel")
960 lbl:SetWidth(600) 965 lbl:SetWidth(600)
961 lbl:SetFont(Amr.CreateFont("Bold", 28, Amr.Colors.White)) 966 lbl:SetFont(Amr.CreateFont("Bold", 28, Amr.Colors.White))
962 lbl:SetText(L.LootTitle) 967 lbl:SetText(L.LootTitle)
963 lbl:SetWordWrap(false) 968 lbl:SetWordWrap(false)