public
Description: WoW Addon - Crowd control assistance
Homepage: http://www.tekkub.net
Clone URL: git://github.com/tekkub/controlfreak.git
Click here to lend your support to: controlfreak and make a donation at www.pledgie.com !
Fix config issues in Wrath
tekkub (author)
Sat Aug 16 18:26:00 -0700 2008
commit  d0758a9d9641da3a740b4c77386cddf68d40caf4
tree    25eb2e64fa30f617b38939175d585be45936620c
parent  165490b89233ab7a95827a0718fa5ddace181bdd
...
8
9
10
 
11
12
13
...
29
30
31
32
 
 
33
34
35
36
37
38
39
 
 
 
 
 
 
 
 
 
40
41
42
...
8
9
10
11
12
13
14
...
30
31
32
 
33
34
35
36
37
38
 
 
 
39
40
41
42
43
44
45
46
47
48
49
50
0
@@ -8,6 +8,7 @@ if not ControlFreak then return end
0
 ----------------------
0
 
0
 local ww = LibStub("WidgetWarlock-Alpha1")
0
+local butt = LibStub("tekKonfig-Button")
0
 local GAP, EDGEGAP, DROPDOWNOFFSET, NUMROWS, ROWHEIGHT = 8, 16, 16, 13, 18
0
 
0
 
0
@@ -29,14 +30,21 @@ frame:SetScript("OnShow", function(frame)
0
 
0
 
0
   local createname = ww:SummonEditBox(frame, 255, "TOPLEFT", currentlabel, "BOTTOMLEFT", GAP - 2, -1)
0
- local createbutton = ww:SummonButton(frame, "Create", nil, nil, "LEFT", createname, "RIGHT", 5, 0)
0
+ local createbutton = butt.new(frame, "LEFT", createname, "RIGHT", 5, 0)
0
+ createbutton:SetText("Create")
0
   createbutton:Disable()
0
   createname:SetScript("OnTextChanged", function(frame) if frame:GetText() ~= "" then createbutton:Enable() else createbutton:Disable() end end)
0
 
0
 
0
- local deletebutton = ww:SummonButton(frame, "Delete", nil, nil, "BOTTOMRIGHT", -EDGEGAP, EDGEGAP)
0
- local copybutton = ww:SummonButton(frame, "Copy", nil, nil, "RIGHT", deletebutton, "LEFT", -GAP, 0)
0
- local loadbutton = ww:SummonButton(frame, "Load", nil, nil, "RIGHT", copybutton, "LEFT", -GAP, 0)
0
+ local deletebutton = butt.new(frame, "BOTTOMRIGHT", -EDGEGAP, EDGEGAP)
0
+ deletebutton:SetText("Delete")
0
+
0
+ local copybutton = butt.new(frame, "RIGHT", deletebutton, "LEFT", -GAP, 0)
0
+ copybutton:SetText("Copy")
0
+
0
+ local loadbutton = butt.new(frame, "RIGHT", copybutton, "LEFT", -GAP, 0)
0
+ loadbutton:SetText("Load")
0
+
0
   local function ToggleButtons(value)
0
     if not value or value == ControlFreak.db:GetCurrentProfile() then
0
       loadbutton:Disable()

Comments

    No one has commented yet.