Mercurial > wow > askmrrobot
comparison ui/AmrUiScrollFrame.lua @ 81:0515882856f1 v38
updated for 7.0
| author | yellowfive |
|---|---|
| date | Tue, 19 Jul 2016 10:05:32 -0700 |
| parents | 01b63b8ed811 |
| children | a0894ffebd15 |
comparison
equal
deleted
inserted
replaced
| 80:8f235b016212 | 81:0515882856f1 |
|---|---|
| 228 scrollbar:SetScript("OnValueChanged", ScrollBar_OnScrollValueChanged) | 228 scrollbar:SetScript("OnValueChanged", ScrollBar_OnScrollValueChanged) |
| 229 | 229 |
| 230 local scrollbg = scrollbar:CreateTexture(nil, "BACKGROUND") | 230 local scrollbg = scrollbar:CreateTexture(nil, "BACKGROUND") |
| 231 scrollbg:SetPoint("TOPLEFT", scrollbar, "TOPLEFT", 0, 16) | 231 scrollbg:SetPoint("TOPLEFT", scrollbar, "TOPLEFT", 0, 16) |
| 232 scrollbg:SetPoint("BOTTOMRIGHT", scrollbar, "BOTTOMRIGHT", 0, -16) | 232 scrollbg:SetPoint("BOTTOMRIGHT", scrollbar, "BOTTOMRIGHT", 0, -16) |
| 233 scrollbg:SetTexture(0, 0, 0, 0.3) | 233 scrollbg:SetColorTexture(0, 0, 0, 0.3) |
| 234 | 234 |
| 235 --Container Support | 235 --Container Support |
| 236 local content = CreateFrame("Frame", nil, scrollframe) | 236 local content = CreateFrame("Frame", nil, scrollframe) |
| 237 content:SetPoint("TOPLEFT") | 237 content:SetPoint("TOPLEFT") |
| 238 content:SetPoint("TOPRIGHT") | 238 content:SetPoint("TOPRIGHT") |
