Mercurial > wow > crossrealmassist
comparison CrossRealmAssist.lua @ 42:2152dcaa9265 beta-0.81 v0.81
7.1 update and fix
| author | ShadowTheAge |
|---|---|
| date | Thu, 27 Oct 2016 02:11:14 +0300 |
| parents | d12ccf325b4b |
| children | f1e4371991ce |
comparison
equal
deleted
inserted
replaced
| 41:77f8a34411cb | 42:2152dcaa9265 |
|---|---|
| 652 tableWidth = tableWidth + tableTemplate[i].width; | 652 tableWidth = tableWidth + tableTemplate[i].width; |
| 653 end | 653 end |
| 654 | 654 |
| 655 | 655 |
| 656 lfgui = setupWidget(CreateFrame("Frame","CrossRealmAssistJoinUI",nil,"UIPanelDialogTemplate"), {SetFrameStrata="HIGH",SetWidth=tableWidth+45,SetHeight=shift+95,EnableMouse=true,SetMovable=true,SetScale=scale}) | 656 lfgui = setupWidget(CreateFrame("Frame","CrossRealmAssistJoinUI",nil,"UIPanelDialogTemplate"), {SetFrameStrata="HIGH",SetWidth=tableWidth+45,SetHeight=shift+95,EnableMouse=true,SetMovable=true,SetScale=scale}) |
| 657 lfgui.title:SetText("Click to join group") | 657 lfgui.title:SetText("Click to join group"); |
| 658 local dragRect = setupWidget(CreateFrame("Frame",nil,lfgui), {EnableMouse=true,RegisterForDrag="LeftButton"}, 0, 6); | |
| 659 dragRect:SetAllPoints(lfgui.title) | |
| 660 dragRect:SetScript("OnDragStart", function() lfgui:StartMoving() end) | |
| 661 dragRect:SetScript("OnDragStop", function() lfgui:StopMovingOrSizing() end) | |
| 658 lfgui:SetScript("OnUpdate",addon.lfgUpdate) | 662 lfgui:SetScript("OnUpdate",addon.lfgUpdate) |
| 659 local titlereg = lfgui:CreateTitleRegion() | |
| 660 titlereg:SetAllPoints(lfgui.title) | |
| 661 addon:CreateTabs() | 663 addon:CreateTabs() |
| 662 | 664 |
| 663 lfgTable = ScrollingTable:CreateST(tableTemplate,itemCount,16,nil,lfgui); | 665 lfgTable = ScrollingTable:CreateST(tableTemplate,itemCount,16,nil,lfgui); |
| 664 lfgTable.SetHighLightColor = setHighlightColorMy; -- work around API changes in 7.0 (SetTexture -> SetColorTexture) | 666 lfgTable.SetHighLightColor = setHighlightColorMy; -- work around API changes in 7.0 (SetTexture -> SetColorTexture) |
| 665 | 667 |
