diff ui/AmrUiTextarea.lua @ 81:0515882856f1 v38

updated for 7.0
author yellowfive
date Tue, 19 Jul 2016 10:05:32 -0700
parents cf2b6b9a8337
children
line wrap: on
line diff
--- a/ui/AmrUiTextarea.lua	Tue Apr 05 16:19:31 2016 -0700
+++ b/ui/AmrUiTextarea.lua	Tue Jul 19 10:05:32 2016 -0700
@@ -186,11 +186,11 @@
 	frame:SetScrollChild(editbox)
 	
 	local border = frame:CreateTexture(nil, "BACKGROUND")
-	border:SetTexture(Amr.Colors.BorderGray.R, Amr.Colors.BorderGray.G, Amr.Colors.BorderGray.B, 1)
+	border:SetColorTexture(Amr.Colors.BorderGray.R, Amr.Colors.BorderGray.G, Amr.Colors.BorderGray.B, 1)
 	border:SetAllPoints(true)
 	
 	local bg = frame:CreateTexture(nil, "BORDER")
-	bg:SetTexture(Amr.Colors.BgInput.R, Amr.Colors.BgInput.G, Amr.Colors.BgInput.B, 1)
+	bg:SetColorTexture(Amr.Colors.BgInput.R, Amr.Colors.BgInput.G, Amr.Colors.BgInput.B, 1)
 	bg:SetPoint("TOPLEFT", frame, "TOPLEFT", 1, -1)
 	bg:SetPoint("BOTTOMRIGHT", frame, "BOTTOMRIGHT", -1, 1)