/
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+")) |
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+")) |
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+")) |
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+")) |
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 |
## 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 |
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+")) |
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() |
--[[-------------------------------------------------------------------- |
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+")) |
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> |
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+")) |
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 |
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) |
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 |
--[[-------------------------------------------------------------------- |
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+")) |
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() |
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+")) |
--[[-------------------------------------------------------------------- |
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+")) |
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 |
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. |