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 !
Another embed update
tekkub (author)
Fri Aug 15 19:01:52 -0700 2008
commit  165490b89233ab7a95827a0718fa5ddace181bdd
tree    15e5703daf1dcbb9d9407f7c4c6c2141d14049a6
parent  ee5ad7972267de03302afecef0ae8a20caae2f13
...
 
1
2
 
3
4
5
6
7
 
8
9
10
...
25
26
27
28
 
29
30
31
...
49
50
51
52
 
53
54
55
...
1
2
 
3
4
5
6
7
 
8
9
10
11
...
26
27
28
 
29
30
31
32
...
50
51
52
 
53
54
55
56
0
@@ -1,10 +1,11 @@
0
+if IS_WRATH_BUILD == nil then IS_WRATH_BUILD = (select(4, GetBuildInfo()) >= 30000) end
0
 
0
-local lib, oldminor = LibStub:NewLibrary("tekKonfig-Button", 4)
0
+local lib, oldminor = LibStub:NewLibrary("tekKonfig-Button", 5)
0
 if not lib then return end
0
 oldminor = oldminor or 0
0
 
0
 
0
-if oldminor < 4 then
0
+if oldminor < 5 then
0
   local GameTooltip = GameTooltip
0
   local function HideTooltip() GameTooltip:Hide() end
0
   local function ShowTooltip(self)
0
@@ -25,7 +26,7 @@ if oldminor < 4 then
0
     -- Fonts --
0
     butt:SetDisabledFontObject(GameFontDisable)
0
     butt:SetHighlightFontObject(GameFontHighlight)
0
- butt:SetNormalFontObject(GameFontNormal)
0
+ if IS_WRATH_BUILD then butt:SetNormalFontObject(GameFontNormal) else butt:SetTextFontObject(GameFontNormal) end
0
 
0
     -- Textures --
0
     butt:SetNormalTexture("Interface\\Buttons\\UI-Panel-Button-Up")
0
@@ -49,7 +50,7 @@ if oldminor < 4 then
0
   function lib.new_small(parent, ...)
0
     local butt = lib.new(parent, ...)
0
     butt:SetHighlightFontObject(GameFontHighlightSmall)
0
- butt:SetNormalFontObject(GameFontNormalSmall)
0
+ if IS_WRATH_BUILD then butt:SetNormalFontObject(GameFontNormalSmall) else butt:SetTextFontObject(GameFontNormalSmall) end
0
     return butt
0
   end
0
 end

Comments

    No one has commented yet.