WoWInterface SVN PhanxConfigWidgets

Compare Revisions

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

Rev 167 → Rev 168

trunk/PhanxConfig-Button/PhanxConfig-Button.lua
2,10 → 2,19
PhanxConfig-Button
Simple button widget generator.
Requires LibStub.
 
Written by Phanx <addons@phanx.net>
https://github.com/phanx/PhanxConfigWidgets
 
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.
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.
----------------------------------------------------------------------]]
 
local MINOR_VERSION = tonumber(string.match("$Revision$", "%d+"))
trunk/PhanxConfig-OptionsPanel/PhanxConfig-OptionsPanel.lua
2,10 → 2,19
PhanxConfig-OptionsPanel
Simple options panel frame generator.
Requires LibStub.
 
Written by Phanx <addons@phanx.net>
https://github.com/phanx/PhanxConfigWidgets
 
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.
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.
----------------------------------------------------------------------]]
 
local MINOR_VERSION = tonumber(string.match("$Revision$", "%d+"))
trunk/PhanxConfig-ColorPicker/PhanxConfig-ColorPicker.lua
3,10 → 3,19
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 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.
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.
----------------------------------------------------------------------]]
 
local MINOR_VERSION = tonumber(("$Revision$"):match("%d+"))
trunk/PhanxConfig-Dropdown/PhanxConfig-Dropdown.lua
3,10 → 3,19
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 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.
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.
----------------------------------------------------------------------]]
 
local MINOR_VERSION = tonumber(strmatch("$Revision$", "%d+"))
22,8 → 31,7
container:OnEnter()
elseif container.tooltipText then
GameTooltip:SetOwner(container, "ANCHOR_RIGHT")
GameTooltip:AddLine(container.tooltipText, 1, 1, 1, true)
GameTooltip:Show()
GameTooltip:SetText(container.tooltipText, nil, nil, nil, nil, true)
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,10 → 2,19
PhanxConfig-EditBox
Simple text input widget generator.
Requires LibStub.
 
Written by Phanx <addons@phanx.net>
https://github.com/phanx/PhanxConfigWidgets
 
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.
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.
----------------------------------------------------------------------]]
 
local MINOR_VERSION = tonumber(string.match("$Revision$", "%d+"))
35,13 → 44,9
 
function scripts:OnEnter()
local container = self:GetParent()
local text = container.tooltipText
if text then
if container.tooltipText then
GameTooltip:SetOwner(container, "ANCHOR_RIGHT")
GameTooltip:AddLine(container.labelText:GetText(), nil, nil, nil, true)
GameTooltip:AddLine(container.tooltipText, 1, 1, 1, true)
GameTooltip:SetMinimumWidth(GameTooltipTextLeft1:GetStringWidth() + 21)
GameTooltip:Show()
GameTooltip:SetText(container.tooltipText, nil, nil, nil, nil, true)
end
end
local function OnLeave()
trunk/PhanxConfig-Panel/PhanxConfig-Panel.lua
1,10 → 1,20
--[[--------------------------------------------------------------------
PhanxConfig-Panel
Simple background panel widget generator. Requires LibStub.
Simple background panel widget generator.
Requires LibStub.
 
Written by Phanx <addons@phanx.net>
https://github.com/phanx/PhanxConfigWidgets
 
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.
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.
----------------------------------------------------------------------]]
 
local MINOR_VERSION = tonumber(strmatch("$Revision$", "%d+"))
trunk/LICENSE New file
0,0 → 1,24
This is free and unencumbered software released into the public domain.
 
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
 
In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit
of the public at large and to the detriment of our heirs and
successors. We intend this dedication to be an overt act of
relinquishment in perpetuity of all present and future rights to this
software under copyright law.
 
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
 
For more information, please refer to <http://unlicense.org>
trunk/PhanxConfig-Slider/PhanxConfig-Slider.lua
4,9 → 4,18
Based on tekKonfig-Slider and AceGUI-3.0-Slider.
Requires LibStub.
 
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.
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.
----------------------------------------------------------------------]]
 
local MINOR_VERSION = tonumber(strmatch("$Revision$", "%d+"))
50,10 → 59,7
local text = container.tooltipText
if text then
GameTooltip:SetOwner(container, "ANCHOR_RIGHT")
GameTooltip:AddLine(container.labelText:GetText(), nil, nil, nil, true)
GameTooltip:AddLine(container.tooltipText, 1, 1, 1, true)
GameTooltip:SetMinimumWidth(GameTooltipTextLeft1:GetStringWidth() + 21)
GameTooltip:Show()
GameTooltip:SetText(container.tooltipText, nil, nil, nil, nil, true)
end
end
 
trunk/PhanxConfig-KeyBinding/PhanxConfig-KeyBinding.lua
3,10 → 3,19
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 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.
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.
----------------------------------------------------------------------]]
 
local PhanxConfigButton = LibStub:GetLibrary("PhanxConfig-Button", true)
45,9 → 54,8
function scripts:OnEnter()
GameTooltip:SetOwner(self, "ANCHOR_RIGHT")
 
local text = self.tooltipText
if text then
GameTooltip:SetText(text, nil, nil, nil, nil, true)
if self.tooltipText then
GameTooltip:SetText(self.tooltipText, 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,12 → 1,21
--[[--------------------------------------------------------------------
PhanxConfig-Checkbox
Simple checkbox widget generator.
Based on tekKonfig-Checkbox by Tekkub.
Originally based on tekKonfig-Checkbox by Tekkub.
Requires LibStub.
 
Written by Phanx <addons@phanx.net>
https://github.com/phanx/PhanxConfigWidgets
 
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.
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.
----------------------------------------------------------------------]]
 
local MINOR_VERSION = tonumber(strmatch("$Revision$", "%d+"))
30,8 → 39,7
function scripts:OnEnter()
if self.tooltipText then
GameTooltip:SetOwner(self, "ANCHOR_RIGHT")
GameTooltip:AddLine(self.tooltipText, 1, 1, 1, true)
GameTooltip:Show()
GameTooltip:SetText(self.tooltipText, nil, nil, nil, nil, true)
end
end
function scripts:OnLeave()
trunk/PhanxConfig-Header/PhanxConfig-Header.lua
2,10 → 2,19
PhanxConfig-Header
Simple options panel header generator.
Requires LibStub.
 
Written by Phanx <addons@phanx.net>
https://github.com/phanx/PhanxConfigWidgets
 
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.
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.
----------------------------------------------------------------------]]
 
local MINOR_VERSION = tonumber(strmatch("$Revision$", "%d+"))
trunk/PhanxConfig-ScrollingDropdown/PhanxConfig-ScrollingDropdown.lua
1,12 → 1,21
--[[--------------------------------------------------------------------
PhanxConfig-ScrollingDropdown
Simple scrolling dropdown widget generator. Requires LibStub.
Simple scrolling dropdown widget generator.
Based on tekKonfig-Dropdown by Tekkub and OmniCC_Options by Tuller.
Requires PhanxConfig-Dropdown.
Requires LibStub.
 
Written by Phanx <addons@phanx.net>
https://github.com/phanx/PhanxConfigWidgets
 
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.
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.
----------------------------------------------------------------------]]
 
local MINOR_VERSION = tonumber(strmatch("$Revision$", "%d+"))
67,9 → 76,7
self:OnEnter()
elseif self.tooltipText then
GameTooltip:SetOwner(self, "ANCHOR_RIGHT")
GameTooltip:AddLine(self.labelText:GetText(), nil, nil, nil, true)
GameTooltip:AddLine(self.tooltipText, 1, 1, 1, true)
GameTooltip:SetMinimumWidth(GameTooltipTextLeft1:GetStringWidth() + 21)
GameTooltip:SetText(self.tooltipText, nil, nil, nil, nil, true)
GameTooltip:Show()
end
end
trunk/README.md New file
0,0 → 1,10
PhanxConfigWidgets
==================
 
WoW library to provide widgets for GUI configuration.
 
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.
\ No newline at end of file