Mercurial > wow > askmrrobot
comparison ui/AmrUiTextarea.lua @ 81:0515882856f1 v38
updated for 7.0
| author | yellowfive |
|---|---|
| date | Tue, 19 Jul 2016 10:05:32 -0700 |
| parents | cf2b6b9a8337 |
| children |
comparison
equal
deleted
inserted
replaced
| 80:8f235b016212 | 81:0515882856f1 |
|---|---|
| 184 editbox:SetScript("OnEditFocusGained", editboxEditFocusGained) | 184 editbox:SetScript("OnEditFocusGained", editboxEditFocusGained) |
| 185 | 185 |
| 186 frame:SetScrollChild(editbox) | 186 frame:SetScrollChild(editbox) |
| 187 | 187 |
| 188 local border = frame:CreateTexture(nil, "BACKGROUND") | 188 local border = frame:CreateTexture(nil, "BACKGROUND") |
| 189 border:SetTexture(Amr.Colors.BorderGray.R, Amr.Colors.BorderGray.G, Amr.Colors.BorderGray.B, 1) | 189 border:SetColorTexture(Amr.Colors.BorderGray.R, Amr.Colors.BorderGray.G, Amr.Colors.BorderGray.B, 1) |
| 190 border:SetAllPoints(true) | 190 border:SetAllPoints(true) |
| 191 | 191 |
| 192 local bg = frame:CreateTexture(nil, "BORDER") | 192 local bg = frame:CreateTexture(nil, "BORDER") |
| 193 bg:SetTexture(Amr.Colors.BgInput.R, Amr.Colors.BgInput.G, Amr.Colors.BgInput.B, 1) | 193 bg:SetColorTexture(Amr.Colors.BgInput.R, Amr.Colors.BgInput.G, Amr.Colors.BgInput.B, 1) |
| 194 bg:SetPoint("TOPLEFT", frame, "TOPLEFT", 1, -1) | 194 bg:SetPoint("TOPLEFT", frame, "TOPLEFT", 1, -1) |
| 195 bg:SetPoint("BOTTOMRIGHT", frame, "BOTTOMRIGHT", -1, 1) | 195 bg:SetPoint("BOTTOMRIGHT", frame, "BOTTOMRIGHT", -1, 1) |
| 196 | 196 |
| 197 local widget = { | 197 local widget = { |
| 198 editbox = editbox, | 198 editbox = editbox, |
