Rev 124 → Rev 125
trunk/Stuf/text.lua
287,7 → 287,11
local r, g, b, text, symbol |
if cevent == "WOUND" then |
if amount ~= 0 then |
text = "-"..amount |
if amount > 999999 then |
text = format("-%.2fM", amount/1000000) |
else |
text = "-"..amount |
end |
if flag == "CRITICAL" then |
symbol = "!" |
elseif flag == "CRUSHING" then |
306,7 → 310,11
text = CombatFeedbackText[flag] |
end |
elseif cevent == "HEAL" then |
text = "+"..amount |
if amount > 999999 then |
text = format("+%.2fM", amount/1000000) |
else |
text = "+"..amount |
end |
symbol = (flag == "CRITICAL" and "!") or "" |
r, g, b = 0, 1, 0 |
elseif cevent == "BLOCK" then |
trunk/Stuf/Stuf.toc
1,8 → 1,8
## Interface: 60000 |
## Interface: 60200 |
## Title: Stuf Unit Frames |
## Author: TotalPackage |
## Notes: Main unitframes replacement. Assembly optional. |
## Version: 6.0.001 |
## Version: 6.2.001 |
|
## SavedVariables: StufDB |
## SavedVariablesPerCharacter: StufCharDB |
trunk/Stuf/libs/LibSharedMedia-3.0/LibSharedMedia-3.0/LibSharedMedia-3.0.lua
1,6 → 1,6
--[[ |
Name: LibSharedMedia-3.0 |
Revision: $Revision: 89 $ |
Revision: $Revision: 91 $ |
Author: Elkano (elkano@gmx.de) |
Inspired By: SurfaceLib by Haste/Otravi (troeks@gmail.com) |
Website: http://www.wowace.com/projects/libsharedmedia-3-0/ |
9,7 → 9,7
License: LGPL v2.1 |
]] |
|
local MAJOR, MINOR = "LibSharedMedia-3.0", 6000201 -- 6.0.2 v1 / increase manually on changes |
local MAJOR, MINOR = "LibSharedMedia-3.0", 6010002 -- 6.1.0 v2 / increase manually on changes |
local lib = LibStub:NewLibrary(MAJOR, MINOR) |
|
if not lib then return end |
223,6 → 223,13
end |
mediatype = mediatype:lower() |
if mediatype == lib.MediaType.FONT and ((langmask and band(langmask, LOCALE_MASK) == 0) or not (langmask or locale_is_western)) then return false end |
if mediatype == lib.MediaType.SOUND and type(data) == "string" then |
local path = data:lower() |
-- Only ogg and mp3 are valid sounds. |
if not path:find(".ogg", nil, true) and not path:find(".mp3", nil, true) then |
return false |
end |
end |
if not mediaTable[mediatype] then mediaTable[mediatype] = {} end |
local mtable = mediaTable[mediatype] |
if mtable[key] then return false end |
trunk/Stuf/libs/LibSharedMedia-3.0/LibSharedMedia-3.0.toc
1,6 → 1,6
## Interface: 60000 |
## Interface: 60200 |
## LoadOnDemand: 1 |
## X-Curse-Packaged-Version: r89 |
## X-Curse-Packaged-Version: 6.2.0 |
## X-Curse-Project-Name: LibSharedMedia-3.0 |
## X-Curse-Project-ID: libsharedmedia-3-0 |
## X-Curse-Repository-ID: wow/libsharedmedia-3-0/mainline |
8,12 → 8,12
## Title: Lib: SharedMedia-3.0 |
## Notes: Shared handling of media data (fonts, sounds, textures, ...) between addons. |
## Author: Elkano |
## Version: 3.0-89 |
## Version: 3.0-93 |
## X-Website: http://www.wowace.com/projects/libsharedmedia-3-0/ |
## X-Category: Library |
|
## X-Revision: 89 |
## X-Date: 2014-10-16T17:09:57Z |
## X-Revision: 93 |
## X-Date: 2015-06-24T01:30:16Z |
|
LibStub\LibStub.lua |
CallbackHandler-1.0\CallbackHandler-1.0.lua |
trunk/StufRaid/StufRaid.toc
1,8 → 1,8
## Interface: 60000 |
## Interface: 60200 |
## Title: Stuf Raid Frames |
## Author: TotalPackage |
## Notes: Raid unit frames. Assembly optional. (Does not require Stuf) |
## Version: 6.0.001 |
## Version: 6.2.001 |
|
## SavedVariables: StufRaidDB |
## SavedVariablesPerCharacter: StufRaidCharLayoutDB, StufRaidCharDB |
trunk/StufRaid/libs/LibSharedMedia-3.0/LibSharedMedia-3.0/LibSharedMedia-3.0.lua
1,6 → 1,6
--[[ |
Name: LibSharedMedia-3.0 |
Revision: $Revision: 89 $ |
Revision: $Revision: 91 $ |
Author: Elkano (elkano@gmx.de) |
Inspired By: SurfaceLib by Haste/Otravi (troeks@gmail.com) |
Website: http://www.wowace.com/projects/libsharedmedia-3-0/ |
9,7 → 9,7
License: LGPL v2.1 |
]] |
|
local MAJOR, MINOR = "LibSharedMedia-3.0", 6000201 -- 6.0.2 v1 / increase manually on changes |
local MAJOR, MINOR = "LibSharedMedia-3.0", 6010002 -- 6.1.0 v2 / increase manually on changes |
local lib = LibStub:NewLibrary(MAJOR, MINOR) |
|
if not lib then return end |
223,6 → 223,13
end |
mediatype = mediatype:lower() |
if mediatype == lib.MediaType.FONT and ((langmask and band(langmask, LOCALE_MASK) == 0) or not (langmask or locale_is_western)) then return false end |
if mediatype == lib.MediaType.SOUND and type(data) == "string" then |
local path = data:lower() |
-- Only ogg and mp3 are valid sounds. |
if not path:find(".ogg", nil, true) and not path:find(".mp3", nil, true) then |
return false |
end |
end |
if not mediaTable[mediatype] then mediaTable[mediatype] = {} end |
local mtable = mediaTable[mediatype] |
if mtable[key] then return false end |
trunk/StufRaid/libs/LibSharedMedia-3.0/LibSharedMedia-3.0.toc
1,6 → 1,6
## Interface: 60000 |
## Interface: 60200 |
## LoadOnDemand: 1 |
## X-Curse-Packaged-Version: r89 |
## X-Curse-Packaged-Version: 6.2.0 |
## X-Curse-Project-Name: LibSharedMedia-3.0 |
## X-Curse-Project-ID: libsharedmedia-3-0 |
## X-Curse-Repository-ID: wow/libsharedmedia-3-0/mainline |
8,12 → 8,12
## Title: Lib: SharedMedia-3.0 |
## Notes: Shared handling of media data (fonts, sounds, textures, ...) between addons. |
## Author: Elkano |
## Version: 3.0-89 |
## Version: 3.0-93 |
## X-Website: http://www.wowace.com/projects/libsharedmedia-3-0/ |
## X-Category: Library |
|
## X-Revision: 89 |
## X-Date: 2014-10-16T17:09:57Z |
## X-Revision: 93 |
## X-Date: 2015-06-24T01:30:16Z |
|
LibStub\LibStub.lua |
CallbackHandler-1.0\CallbackHandler-1.0.lua |
trunk/StufRaid_Options/StufRaid_Options.toc
1,4 → 1,4
## Interface: 60000 |
## Interface: 60200 |
## Title: Stuf Raid Options |
## Author: TotalPackage |
## Notes: Configuration Menu for StufRaid. |
trunk/StufRaid_Options/libs/AceGUI-3.0/widgets/AceGUIWidget-DropDownGroup.lua
File deleted
trunk/StufRaid_Options/libs/AceGUI-3.0/widgets/AceGUIWidget-ScrollFrame.lua
File deleted
trunk/StufRaid_Options/libs/AceGUI-3.0/widgets/AceGUIWidget-TreeGroup.lua
File deleted
trunk/StufRaid_Options/libs/AceGUI-3.0/widgets/AceGUIWidget-TabGroup.lua
File deleted
trunk/StufRaid_Options/libs/AceGUI-3.0/widgets/AceGUIWidget-BlizOptionsGroup.lua
File deleted
trunk/StufRaid_Options/libs/AceGUI-3.0/widgets/AceGUIWidget-Frame.lua
File deleted
trunk/StufRaid_Options/libs/AceGUI-3.0/widgets/AceGUIWidget-InlineGroup.lua
File deleted
trunk/StufRaid_Options/libs/AceGUI-3.0/widgets/AceGUIWidget-SimpleGroup.lua
File deleted
trunk/StufRaid_Options/libs/AceGUI-3.0/widgets/AceGUIWidget-Window.lua
File deleted
trunk/StufRaid_Options/libs/AceGUI-3.0/widgets/AceGUIContainer-TreeGroup.lua
2,7 → 2,7
TreeGroup Container |
Container that uses a tree control to switch between groups. |
-------------------------------------------------------------------------------]] |
local Type, Version = "TreeGroup", 36 |
local Type, Version = "TreeGroup", 38 |
local AceGUI = LibStub and LibStub("AceGUI-3.0", true) |
if not AceGUI or (AceGUI:GetWidgetVersion(Type) or 0) >= Version then return end |
|
212,7 → 212,7
if self.enabletooltips then |
GameTooltip:SetOwner(frame, "ANCHOR_NONE") |
GameTooltip:SetPoint("LEFT",frame,"RIGHT") |
GameTooltip:SetText(frame.text:GetText() or "", 1, .82, 0, 1) |
GameTooltip:SetText(frame.text:GetText() or "", 1, .82, 0, true) |
|
GameTooltip:Show() |
end |
335,6 → 335,8
button.toggle.button = button |
button.toggle:SetScript("OnClick",Expand_OnClick) |
|
button.text:SetHeight(14) -- Prevents text wrapping |
|
return button |
end, |
|
trunk/StufRaid_Options/libs/AceConfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua
1,10 → 1,10
--- AceConfigDialog-3.0 generates AceGUI-3.0 based windows based on option tables. |
-- @class file |
-- @name AceConfigDialog-3.0 |
-- @release $Id: AceConfigDialog-3.0.lua 1113 2014-09-11 20:18:16Z nevcairiel $ |
-- @release $Id: AceConfigDialog-3.0.lua 1126 2014-11-10 06:38:01Z nevcairiel $ |
|
local LibStub = LibStub |
local MAJOR, MINOR = "AceConfigDialog-3.0", 59 |
local MAJOR, MINOR = "AceConfigDialog-3.0", 60 |
local AceConfigDialog, oldminor = LibStub:NewLibrary(MAJOR, MINOR) |
|
if not AceConfigDialog then return end |
542,16 → 542,16
|
if descStyle and descStyle ~= "tooltip" then return end |
|
GameTooltip:SetText(name, 1, .82, 0, 1) |
GameTooltip:SetText(name, 1, .82, 0, true) |
|
if opt.type == "multiselect" then |
GameTooltip:AddLine(user.text,0.5, 0.5, 0.8, 1) |
GameTooltip:AddLine(user.text, 0.5, 0.5, 0.8, true) |
end |
if type(desc) == "string" then |
GameTooltip:AddLine(desc, 1, 1, 1, 1) |
GameTooltip:AddLine(desc, 1, 1, 1, true) |
end |
if type(usage) == "string" then |
GameTooltip:AddLine("Usage: "..usage, NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b, 1) |
GameTooltip:AddLine("Usage: "..usage, NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b, true) |
end |
|
GameTooltip:Show() |
1448,10 → 1448,10
GameTooltip:SetPoint("LEFT",button,"RIGHT") |
end |
|
GameTooltip:SetText(name, 1, .82, 0, 1) |
GameTooltip:SetText(name, 1, .82, 0, true) |
|
if type(desc) == "string" then |
GameTooltip:AddLine(desc, 1, 1, 1, 1) |
GameTooltip:AddLine(desc, 1, 1, 1, true) |
end |
|
GameTooltip:Show() |
trunk/Stuf_Options/Stuf_Options.toc
1,4 → 1,4
## Interface: 60000 |
## Interface: 60200 |
## Title: Stuf_Options |
## Author: TotalPackage |
## Notes: Configuration Menu for Stuf. |
trunk/Stuf_Options/libs/AceGUI-3.0/widgets/AceGUIWidget-TabGroup.lua
File deleted
trunk/Stuf_Options/libs/AceGUI-3.0/widgets/AceGUIWidget-BlizOptionsGroup.lua
File deleted
trunk/Stuf_Options/libs/AceGUI-3.0/widgets/AceGUIWidget-Frame.lua
File deleted
trunk/Stuf_Options/libs/AceGUI-3.0/widgets/AceGUIWidget-InlineGroup.lua
File deleted
trunk/Stuf_Options/libs/AceGUI-3.0/widgets/AceGUIWidget-SimpleGroup.lua
File deleted
trunk/Stuf_Options/libs/AceGUI-3.0/widgets/AceGUIWidget-Window.lua
File deleted
trunk/Stuf_Options/libs/AceGUI-3.0/widgets/AceGUIWidget-DropDownGroup.lua
File deleted
trunk/Stuf_Options/libs/AceGUI-3.0/widgets/AceGUIWidget-ScrollFrame.lua
File deleted
trunk/Stuf_Options/libs/AceGUI-3.0/widgets/AceGUIWidget-TreeGroup.lua
File deleted
trunk/Stuf_Options/libs/AceGUI-3.0/widgets/AceGUIContainer-TreeGroup.lua
2,7 → 2,7
TreeGroup Container |
Container that uses a tree control to switch between groups. |
-------------------------------------------------------------------------------]] |
local Type, Version = "TreeGroup", 36 |
local Type, Version = "TreeGroup", 38 |
local AceGUI = LibStub and LibStub("AceGUI-3.0", true) |
if not AceGUI or (AceGUI:GetWidgetVersion(Type) or 0) >= Version then return end |
|
212,7 → 212,7
if self.enabletooltips then |
GameTooltip:SetOwner(frame, "ANCHOR_NONE") |
GameTooltip:SetPoint("LEFT",frame,"RIGHT") |
GameTooltip:SetText(frame.text:GetText() or "", 1, .82, 0, 1) |
GameTooltip:SetText(frame.text:GetText() or "", 1, .82, 0, true) |
|
GameTooltip:Show() |
end |
335,6 → 335,8
button.toggle.button = button |
button.toggle:SetScript("OnClick",Expand_OnClick) |
|
button.text:SetHeight(14) -- Prevents text wrapping |
|
return button |
end, |
|
trunk/Stuf_Options/libs/AceConfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua
1,10 → 1,10
--- AceConfigDialog-3.0 generates AceGUI-3.0 based windows based on option tables. |
-- @class file |
-- @name AceConfigDialog-3.0 |
-- @release $Id: AceConfigDialog-3.0.lua 1113 2014-09-11 20:18:16Z nevcairiel $ |
-- @release $Id: AceConfigDialog-3.0.lua 1126 2014-11-10 06:38:01Z nevcairiel $ |
|
local LibStub = LibStub |
local MAJOR, MINOR = "AceConfigDialog-3.0", 59 |
local MAJOR, MINOR = "AceConfigDialog-3.0", 60 |
local AceConfigDialog, oldminor = LibStub:NewLibrary(MAJOR, MINOR) |
|
if not AceConfigDialog then return end |
542,16 → 542,16
|
if descStyle and descStyle ~= "tooltip" then return end |
|
GameTooltip:SetText(name, 1, .82, 0, 1) |
GameTooltip:SetText(name, 1, .82, 0, true) |
|
if opt.type == "multiselect" then |
GameTooltip:AddLine(user.text,0.5, 0.5, 0.8, 1) |
GameTooltip:AddLine(user.text, 0.5, 0.5, 0.8, true) |
end |
if type(desc) == "string" then |
GameTooltip:AddLine(desc, 1, 1, 1, 1) |
GameTooltip:AddLine(desc, 1, 1, 1, true) |
end |
if type(usage) == "string" then |
GameTooltip:AddLine("Usage: "..usage, NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b, 1) |
GameTooltip:AddLine("Usage: "..usage, NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b, true) |
end |
|
GameTooltip:Show() |
1448,10 → 1448,10
GameTooltip:SetPoint("LEFT",button,"RIGHT") |
end |
|
GameTooltip:SetText(name, 1, .82, 0, 1) |
GameTooltip:SetText(name, 1, .82, 0, true) |
|
if type(desc) == "string" then |
GameTooltip:AddLine(desc, 1, 1, 1, 1) |
GameTooltip:AddLine(desc, 1, 1, 1, true) |
end |
|
GameTooltip:Show() |
trunk/Stuf_Options/options.lua
2014,10 → 2014,10
}, |
nK={ name=L["Thousand Short"], type="input", order=12.21, set=set, get=get, }, |
nM={ name=L["Million Short"], type="input", order=12.22, set=set, get=get, }, |
hidepartyinraid={ name=_G.HIDE_PARTY_INTERFACE_TEXT, type="toggle", order=12.4, |
hidepartyinraid={ name=_G.HIDE_PARTY_INTERFACE_TEXT, type="toggle", width="double", order=12.4, |
set=function(info, v) set(info, v) Stuf.GroupUpdate() end, get=get, }, |
showarena={ |
name=L["Show Party in Arena"], type="toggle", set=set, get=get, order=12.5, |
name=L["Show Party in Arena"], type="toggle", width="double", set=set, get=get, order=12.5, |
set=function(info, v) |
set(info, v) |
Stuf.GroupUpdate() |
trunk/Stuf_Range/Stuf_Range.toc
1,4 → 1,4
## Interface: 60000 |
## Interface: 60200 |
## Title: Stuf_Range |
## Author: TotalPackage |
## Notes: Displays estimate distance using LibRangeCheck-2.0. |