Mercurial > wow > hansgar_and_franzok_assist
comparison Libs/DF/split_bar.lua @ 29:5da06cb420d4
- framework update.
| author | Tercioo |
|---|---|
| date | Sat, 02 Jan 2016 13:33:05 -0200 |
| parents | dbd417f413a8 |
| children | 7944c081e5b4 |
comparison
equal
deleted
inserted
replaced
| 28:7523376ecaa3 | 29:5da06cb420d4 |
|---|---|
| 537 if (not name) then | 537 if (not name) then |
| 538 name = "DetailsFrameworkSplitbar" .. DF.SplitBarCounter | 538 name = "DetailsFrameworkSplitbar" .. DF.SplitBarCounter |
| 539 DF.SplitBarCounter = DF.SplitBarCounter + 1 | 539 DF.SplitBarCounter = DF.SplitBarCounter + 1 |
| 540 end | 540 end |
| 541 if (not parent) then | 541 if (not parent) then |
| 542 return nil | 542 return error ("Details! FrameWork: parent not found.", 2) |
| 543 end | 543 end |
| 544 if (not container) then | 544 if (not container) then |
| 545 container = parent | 545 container = parent |
| 546 end | 546 end |
| 547 | 547 |
| 548 if (name:find ("$parent")) then | 548 if (name:find ("$parent")) then |
| 549 name = name:gsub ("$parent", parent:GetName()) | 549 local parentName = DF.GetParentName (parent) |
| 550 name = name:gsub ("$parent", parentName) | |
| 550 end | 551 end |
| 551 | 552 |
| 552 local SplitBarObject = {type = "barsplit", dframework = true} | 553 local SplitBarObject = {type = "barsplit", dframework = true} |
| 553 | 554 |
| 554 if (member) then | 555 if (member) then |
