- increase maximum gap setting by request

- added horizontal positioning option to the Runes module (and made sure it was properly centered by default instead of being off to the left)
- changed log template on main dir, moved callbackhandler to the top of the list for embeds, externals, and pkgmeta just to keep everything uniform and make Threat load properly
This commit is contained in:
Parnic
2008-09-30 06:52:34 +00:00
parent abd3864501
commit 7e01c62d54
4 changed files with 26 additions and 5 deletions

View File

@ -3,6 +3,7 @@ package-as: IceHUD
externals:
libs/LibStub: svn://svn.wowace.com/wow/libstub/mainline/tags/1.0
libs/AceLibrary: svn://svn.wowace.com/wow/ace2/mainline/trunk/AceLibrary
libs/CallbackHandler-1.0: svn://svn.wowace.com/wow/ace3/mainline/trunk/CallbackHandler-1.0
libs/AceBucket-3.0: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceBucket-3.0
libs/AceComm-3.0: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceComm-3.0
libs/AceTimer-3.0: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceTimer-3.0
@ -16,7 +17,6 @@ externals:
libs/AceAddon-3.0: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceAddon-3.0
libs/AceConsole-2.0: svn://svn.wowace.com/wow/ace2/mainline/trunk/AceConsole-2.0
libs/AceConsole-3.0: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceConsole-3.0
libs/CallbackHandler-1.0: svn://svn.wowace.com/wow/ace3/mainline/trunk/CallbackHandler-1.0
libs/Deformat-2.0: svn://svn.wowace.com/wow/deformat/mainline/trunk/Deformat-2.0
libs/LibDogTag-Unit-3.0: svn://svn.wowace.com/wow/lib-dog-tag-unit-3-0/mainline/trunk
libs/LibDruidMana-1.0: svn://svn.wowace.com/wow/lib-druid-mana-1-0/mainline/trunk

View File

@ -71,7 +71,7 @@ IceHUD.options =
IceHUD.IceCore:SetGap(v)
end,
min = 50,
max = 300,
max = 500,
step = 5,
order = 13,
},

View File

@ -3,6 +3,7 @@
<Script file="Libs\LibStub\LibStub.lua"/>
<Script file="libs\AceLibrary\AceLibrary.lua"/>
<Script file="libs\CallbackHandler-1.0\CallbackHandler-1.0.lua"/>
<Script file="libs\AceOO-2.0\AceOO-2.0.lua"/>
<Script file="libs\AceDB-2.0\AceDB-2.0.lua"/>
<Script file="libs\AceDB-3.0\AceDB-3.0.lua"/>
@ -16,7 +17,6 @@
<Include file="Libs\AceComm-3.0\AceComm-3.0.xml"/>
<Include file="Libs\AceTimer-3.0\AceTimer-3.0.xml"/>
<Include file="Libs\AceSerializer-3.0\AceSerializer-3.0.xml"/>
<Script file="libs\CallbackHandler-1.0\CallbackHandler-1.0.lua"/>
<Include file="libs\LibDogTag-3.0\lib.xml"/>
<Include file="libs\LibDogTag-Unit-3.0\lib.xml"/>
<Include file="libs\LibDruidMana-1.0\lib.xml"/>

View File

@ -62,6 +62,26 @@ function Runes.prototype:GetOptions()
order = 31
}
opts["hpos"] = {
type = "range",
name = "Horizontal Position",
desc = "Horizontal Position",
get = function()
return self.moduleSettings.hpos
end,
set = function(v)
self.moduleSettings.hpos = v
self:Redraw()
end,
min = -500,
max = 500,
step = 10,
disabled = function()
return not self.moduleSettings.enabled
end,
order = 31
}
opts["hideBlizz"] = {
type = "toggle",
name = "Hide Blizzard Frame",
@ -131,6 +151,7 @@ function Runes.prototype:GetDefaultSettings()
local defaults = Runes.super.prototype.GetDefaultSettings(self)
defaults["vpos"] = 0
defaults["hpos"] = 10
defaults["runeFontSize"] = 20
defaults["runeMode"] = "Graphical"
defaults["usesDogTagStrings"] = false
@ -205,8 +226,8 @@ function Runes.prototype:CreateFrame()
self.frame:SetWidth(self.runeSize*self.numRunes)
self.frame:SetHeight(1)
self.frame:ClearAllPoints()
self.frame:SetPoint("TOP", self.parent, "BOTTOM", 0, self.moduleSettings.vpos)
self.frame:SetPoint("TOP", self.parent, "BOTTOM", self.moduleSettings.hpos, self.moduleSettings.vpos)
self:Show(true)
self:CreateRuneFrame()