WoWInterface SVN PhanxConfigWidgets

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 168 to Rev 167
    Reverse comparison

Rev 168 → Rev 167

trunk/README.md File deleted \ No newline at end of file
trunk/LICENSE File deleted
trunk/PhanxConfig-ScrollingDropdown/PhanxConfig-ScrollingDropdown.lua
1,21 → 1,12
--[[--------------------------------------------------------------------
PhanxConfig-ScrollingDropdown
Simple scrolling dropdown widget generator.
Simple scrolling dropdown widget generator. Requires LibStub.
Based on tekKonfig-Dropdown by Tekkub and OmniCC_Options by Tuller.
Requires LibStub.
 
Written by Phanx <addons@phanx.net>
https://github.com/phanx/PhanxConfigWidgets
Requires PhanxConfig-Dropdown.
 
This is free and unencumbered software released into the public domain.
 
However, if you make any modifications, you are strongly encouraged
to give your version a different name, so that you do not break
addons using the original version, or vice versa.
 
And finally, I wrote this library for my own use in my own addons.
No support of any kind will be provided for use by anyone else,
and its internals may change at any time without any warning.
This library is not intended for use by other authors. Absolutely no
support of any kind will be provided for other authors using it, and
its internals may change at any time without notice.
----------------------------------------------------------------------]]
 
local MINOR_VERSION = tonumber(strmatch("$Revision$", "%d+"))
76,7 → 67,9
self:OnEnter()
elseif self.tooltipText then
GameTooltip:SetOwner(self, "ANCHOR_RIGHT")
GameTooltip:SetText(self.tooltipText, nil, nil, nil, nil, true)
GameTooltip:AddLine(self.labelText:GetText(), nil, nil, nil, true)
GameTooltip:AddLine(self.tooltipText, 1, 1, 1, true)
GameTooltip:SetMinimumWidth(GameTooltipTextLeft1:GetStringWidth() + 21)
GameTooltip:Show()
end
end
trunk/PhanxConfig-Button/PhanxConfig-Button.lua
2,19 → 2,10
PhanxConfig-Button
Simple button widget generator.
Requires LibStub.
 
Written by Phanx <addons@phanx.net>
https://github.com/phanx/PhanxConfigWidgets
 
This is free and unencumbered software released into the public domain.
 
However, if you make any modifications, you are strongly encouraged
to give your version a different name, so that you do not break
addons using the original version, or vice versa.
 
And finally, I wrote this library for my own use in my own addons.
No support of any kind will be provided for use by anyone else,
and its internals may change at any time without any warning.
This library is not intended for use by other authors. Absolutely no
support of any kind will be provided for other authors using it, and
its internals may change at any time without notice.
----------------------------------------------------------------------]]
 
local MINOR_VERSION = tonumber(string.match("$Revision$", "%d+"))
trunk/PhanxConfig-OptionsPanel/PhanxConfig-OptionsPanel.lua
2,19 → 2,10
PhanxConfig-OptionsPanel
Simple options panel frame generator.
Requires LibStub.
 
Written by Phanx <addons@phanx.net>
https://github.com/phanx/PhanxConfigWidgets
 
This is free and unencumbered software released into the public domain.
 
However, if you make any modifications, you are strongly encouraged
to give your version a different name, so that you do not break
addons using the original version, or vice versa.
 
And finally, I wrote this library for my own use in my own addons.
No support of any kind will be provided for use by anyone else,
and its internals may change at any time without any warning.
This library is not intended for use by other authors. Absolutely no
support of any kind will be provided for other authors using it, and
its internals may change at any time without notice.
----------------------------------------------------------------------]]
 
local MINOR_VERSION = tonumber(string.match("$Revision$", "%d+"))
trunk/PhanxConfig-ColorPicker/PhanxConfig-ColorPicker.lua
3,19 → 3,10
Simple color picker widget generator.
Based on OmniCC_Options by Tuller.
Requires LibStub.
 
Written by Phanx <addons@phanx.net>
https://github.com/phanx/PhanxConfigWidgets
 
This is free and unencumbered software released into the public domain.
 
However, if you make any modifications, you are strongly encouraged
to give your version a different name, so that you do not break
addons using the original version, or vice versa.
 
And finally, I wrote this library for my own use in my own addons.
No support of any kind will be provided for use by anyone else,
and its internals may change at any time without any warning.
This library is not intended for use by other authors. Absolutely no
support of any kind will be provided for other authors using it, and
its internals may change at any time without notice.
----------------------------------------------------------------------]]
 
local MINOR_VERSION = tonumber(("$Revision$"):match("%d+"))
trunk/PhanxConfig-Dropdown/PhanxConfig-Dropdown.lua
3,19 → 3,10
Simple color picker widget generator.
Based on tekKonfig-Dropdown by Tekkub.
Requires LibStub.
 
Written by Phanx <addons@phanx.net>
https://github.com/phanx/PhanxConfigWidgets
 
This is free and unencumbered software released into the public domain.
 
However, if you make any modifications, you are strongly encouraged
to give your version a different name, so that you do not break
addons using the original version, or vice versa.
 
And finally, I wrote this library for my own use in my own addons.
No support of any kind will be provided for use by anyone else,
and its internals may change at any time without any warning.
This library is not intended for use by other authors. Absolutely no
support of any kind will be provided for other authors using it, and
its internals may change at any time without notice.
----------------------------------------------------------------------]]
 
local MINOR_VERSION = tonumber(strmatch("$Revision$", "%d+"))
31,7 → 22,8
container:OnEnter()
elseif container.tooltipText then
GameTooltip:SetOwner(container, "ANCHOR_RIGHT")
GameTooltip:SetText(container.tooltipText, nil, nil, nil, nil, true)
GameTooltip:AddLine(container.tooltipText, 1, 1, 1, true)
GameTooltip:Show()
end
end
 
trunk/PhanxConfigWidgets.toc
1,10 → 1,10
## Interface: 50400
## Version: 5.4.2.wowi:revision
 
## Title: Lib: PhanxConfigWidgets
## Notes: Simple GUI configuration widgets.
## Author: Phanx
## X-Email: addons@phanx.net
## X-License: Public Domain
 
## OptionalDependencies: LibStub
 
trunk/PhanxConfig-EditBox/PhanxConfig-EditBox.lua
2,19 → 2,10
PhanxConfig-EditBox
Simple text input widget generator.
Requires LibStub.
 
Written by Phanx <addons@phanx.net>
https://github.com/phanx/PhanxConfigWidgets
 
This is free and unencumbered software released into the public domain.
 
However, if you make any modifications, you are strongly encouraged
to give your version a different name, so that you do not break
addons using the original version, or vice versa.
 
And finally, I wrote this library for my own use in my own addons.
No support of any kind will be provided for use by anyone else,
and its internals may change at any time without any warning.
This library is not intended for use by other authors. Absolutely no
support of any kind will be provided for other authors using it, and
its internals may change at any time without notice.
----------------------------------------------------------------------]]
 
local MINOR_VERSION = tonumber(string.match("$Revision$", "%d+"))
44,9 → 35,13
 
function scripts:OnEnter()
local container = self:GetParent()
if container.tooltipText then
local text = container.tooltipText
if text then
GameTooltip:SetOwner(container, "ANCHOR_RIGHT")
GameTooltip:SetText(container.tooltipText, nil, nil, nil, nil, true)
GameTooltip:AddLine(container.labelText:GetText(), nil, nil, nil, true)
GameTooltip:AddLine(container.tooltipText, 1, 1, 1, true)
GameTooltip:SetMinimumWidth(GameTooltipTextLeft1:GetStringWidth() + 21)
GameTooltip:Show()
end
end
local function OnLeave()
trunk/PhanxConfig-Panel/PhanxConfig-Panel.lua
1,20 → 1,10
--[[--------------------------------------------------------------------
PhanxConfig-Panel
Simple background panel widget generator.
Requires LibStub.
 
Written by Phanx <addons@phanx.net>
https://github.com/phanx/PhanxConfigWidgets
Simple background panel widget generator. Requires LibStub.
 
This is free and unencumbered software released into the public domain.
 
However, if you make any modifications, you are strongly encouraged
to give your version a different name, so that you do not break
addons using the original version, or vice versa.
 
And finally, I wrote this library for my own use in my own addons.
No support of any kind will be provided for use by anyone else,
and its internals may change at any time without any warning.
This library is not intended for use by other authors. Absolutely no
support of any kind will be provided for other authors using it, and
its internals may change at any time without notice.
----------------------------------------------------------------------]]
 
local MINOR_VERSION = tonumber(strmatch("$Revision$", "%d+"))
trunk/PhanxConfig-Slider/PhanxConfig-Slider.lua
4,18 → 4,9
Based on tekKonfig-Slider and AceGUI-3.0-Slider.
Requires LibStub.
 
Written by Phanx <addons@phanx.net>
https://github.com/phanx/PhanxConfigWidgets
 
This is free and unencumbered software released into the public domain.
 
However, if you make any modifications, you are strongly encouraged
to give your version a different name, so that you do not break
addons using the original version, or vice versa.
 
And finally, I wrote this library for my own use in my own addons.
No support of any kind will be provided for use by anyone else,
and its internals may change at any time without any warning.
This library is not intended for use by other authors. Absolutely no
support of any kind will be provided for other authors using it, and
its internals may change at any time without notice.
----------------------------------------------------------------------]]
 
local MINOR_VERSION = tonumber(strmatch("$Revision$", "%d+"))
59,7 → 50,10
local text = container.tooltipText
if text then
GameTooltip:SetOwner(container, "ANCHOR_RIGHT")
GameTooltip:SetText(container.tooltipText, nil, nil, nil, nil, true)
GameTooltip:AddLine(container.labelText:GetText(), nil, nil, nil, true)
GameTooltip:AddLine(container.tooltipText, 1, 1, 1, true)
GameTooltip:SetMinimumWidth(GameTooltipTextLeft1:GetStringWidth() + 21)
GameTooltip:Show()
end
end
 
trunk/PhanxConfig-KeyBinding/PhanxConfig-KeyBinding.lua
3,19 → 3,10
Key binding button widget generator.
Based on AceGUI-3.0-Keybinding.
Requires LibStub.
 
Written by Phanx <addons@phanx.net>
https://github.com/phanx/PhanxConfigWidgets
 
This is free and unencumbered software released into the public domain.
 
However, if you make any modifications, you are strongly encouraged
to give your version a different name, so that you do not break
addons using the original version, or vice versa.
 
And finally, I wrote this library for my own use in my own addons.
No support of any kind will be provided for use by anyone else,
and its internals may change at any time without any warning.
This library is not intended for use by other authors. Absolutely no
support of any kind will be provided for other authors using it, and
its internals may change at any time without notice.
----------------------------------------------------------------------]]
 
local PhanxConfigButton = LibStub:GetLibrary("PhanxConfig-Button", true)
54,8 → 45,9
function scripts:OnEnter()
GameTooltip:SetOwner(self, "ANCHOR_RIGHT")
 
if self.tooltipText then
GameTooltip:SetText(self.tooltipText, nil, nil, nil, nil, true)
local text = self.tooltipText
if text then
GameTooltip:SetText(text, nil, nil, nil, nil, true)
elseif self.waitingForKey then
GameTooltip:SetText(HINT_TEXT_ACTIVE, nil, nil, nil, nil, true)
else
trunk/PhanxConfig-Checkbox/PhanxConfig-Checkbox.lua
1,21 → 1,12
--[[--------------------------------------------------------------------
PhanxConfig-Checkbox
Simple checkbox widget generator.
Originally based on tekKonfig-Checkbox by Tekkub.
Based on tekKonfig-Checkbox by Tekkub.
Requires LibStub.
 
Written by Phanx <addons@phanx.net>
https://github.com/phanx/PhanxConfigWidgets
 
This is free and unencumbered software released into the public domain.
 
However, if you make any modifications, you are strongly encouraged
to give your version a different name, so that you do not break
addons using the original version, or vice versa.
 
And finally, I wrote this library for my own use in my own addons.
No support of any kind will be provided for use by anyone else,
and its internals may change at any time without any warning.
This library is not intended for use by other authors. Absolutely no
support of any kind will be provided for other authors using it, and
its internals may change at any time without notice.
----------------------------------------------------------------------]]
 
local MINOR_VERSION = tonumber(strmatch("$Revision$", "%d+"))
39,7 → 30,8
function scripts:OnEnter()
if self.tooltipText then
GameTooltip:SetOwner(self, "ANCHOR_RIGHT")
GameTooltip:SetText(self.tooltipText, nil, nil, nil, nil, true)
GameTooltip:AddLine(self.tooltipText, 1, 1, 1, true)
GameTooltip:Show()
end
end
function scripts:OnLeave()
trunk/PhanxConfig-Header/PhanxConfig-Header.lua
2,19 → 2,10
PhanxConfig-Header
Simple options panel header generator.
Requires LibStub.
 
Written by Phanx <addons@phanx.net>
https://github.com/phanx/PhanxConfigWidgets
 
This is free and unencumbered software released into the public domain.
 
However, if you make any modifications, you are strongly encouraged
to give your version a different name, so that you do not break
addons using the original version, or vice versa.
 
And finally, I wrote this library for my own use in my own addons.
No support of any kind will be provided for use by anyone else,
and its internals may change at any time without any warning.
This library is not intended for use by other authors. Absolutely no
support of any kind will be provided for other authors using it, and
its internals may change at any time without notice.
----------------------------------------------------------------------]]
 
local MINOR_VERSION = tonumber(strmatch("$Revision$", "%d+"))