WoWInterface SVN PhanxConfigWidgets

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 14 to Rev 18
    Reverse comparison

Rev 14 → Rev 18

PhanxConfig-Checkbox/PhanxConfig-Checkbox.lua
1,7 → 1,12
--[[--------------------------------------------------------------------
PhanxConfig-Checkbox
Simple checkbox widget generator. Requires LibStub.
Simple checkbox widget generator.
Based on tekKonfig-Checkbox by Tekkub.
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.
----------------------------------------------------------------------]]
 
local lib, oldminor = LibStub:NewLibrary("PhanxConfig-Checkbox", 3)
PhanxConfig-ScrollingDropdown/PhanxConfig-ScrollingDropdown.lua
3,6 → 3,10
Simple scrolling dropdown widget generator. Requires LibStub.
Based on tekKonfig-Dropdown by Tekkub and OmniCC_Options by Tuller.
Requires PhanxConfig-Dropdown.
 
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 PhanxConfigDropdown = LibStub:GetLibrary("PhanxConfig-Dropdown", true)
PhanxConfig-ColorPicker/PhanxConfig-ColorPicker.lua
3,6 → 3,10
Simple color picker widget generator.
Based on OmniCC_Options by Tuller.
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.
----------------------------------------------------------------------]]
 
local lib, oldminor = LibStub:NewLibrary("PhanxConfig-ColorPicker", 3)
PhanxConfig-Dropdown/PhanxConfig-Dropdown.lua
3,6 → 3,10
Simple color picker widget generator.
Based on tekKonfig-Dropdown by Tekkub.
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.
----------------------------------------------------------------------]]
 
local lib, oldminor = LibStub:NewLibrary("PhanxConfig-Dropdown", 3)
68,27 → 72,27
ltex:SetWidth(25)
ltex:SetHeight(64)
 
local rtex = dropdown:CreateTexture(nil, "ARTWORK")
local rtex = dropdown:CreateTexture(nil, "BORDER")
rtex:SetTexture("Interface\\Glues\\CharacterCreate\\CharacterCreate-LabelFrame")
rtex:SetTexCoord(0.8046875, 1, 0, 1)
rtex:SetPoint("TOPRIGHT", dropdown, 0, 17)
rtex:SetWidth(25)
rtex:SetHeight(64)
 
local mtex = dropdown:CreateTexture(nil, "ARTWORK")
local mtex = dropdown:CreateTexture(nil, "BORDER")
mtex:SetTexture("Interface\\Glues\\CharacterCreate\\CharacterCreate-LabelFrame")
mtex:SetTexCoord(0.1953125, 0.8046875, 0, 1)
mtex:SetPoint("LEFT", ltex, "RIGHT")
mtex:SetPoint("RIGHT", rtex, "LEFT")
mtex:SetHeight(64)
 
local label = frame:CreateFontString(nil, "ARTWORK", "GameFontNormal")
local label = frame:CreateFontString(nil, "OVERLAY", "GameFontNormal")
label:SetPoint("BOTTOMLEFT", dropdown, "TOPLEFT", 20, 0)
label:SetPoint("BOTTOMRIGHT", dropdown, "TOPRIGHT", -20, 0)
label:SetJustifyH("LEFT")
label:SetText(name)
 
local value = dropdown:CreateFontString(dropdown:GetName() .. "Text", "ARTWORK", "GameFontHighlightSmall")
local value = dropdown:CreateFontString(dropdown:GetName() .. "Text", "OVERLAY", "GameFontHighlightSmall")
value:SetPoint("LEFT", ltex, 26, 2)
value:SetPoint("RIGHT", rtex, -43, 2)
value:SetJustifyH("LEFT")
PhanxConfigWidgets.toc
6,7 → 6,6
## Author: Phanx
## X-Category: Library
## X-Email: addons@phanx.net
## X-License: All Rights Reserved
 
## Dependencies: LibStub
 
PhanxConfig-Panel/PhanxConfig-Panel.lua
1,6 → 1,10
--[[--------------------------------------------------------------------
PhanxConfig-Panel
Simple background panel widget generator. 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.
----------------------------------------------------------------------]]
 
local lib, oldminor = LibStub:NewLibrary("PhanxConfig-Panel", 1)
PhanxConfig-Slider/PhanxConfig-Slider.lua
3,6 → 3,10
Simple slider widget generator.
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.
----------------------------------------------------------------------]]
 
local lib, oldminor = LibStub:NewLibrary("PhanxConfig-Slider", 3)