Not registered memebers cannot see profile, so i cant see is email :(
Now if you can only make the docked frames mouseover popup detect that the Dock is on the left side of the screen and make it adjust itself to popup on the right side of the dock instead of the left side of the Dock making it go off screen. (That was probably way confusing.)
Change the anchoring, docked frame automatically expand the opposite way :D maybe ill try to see if it can be done automatically.
I'm having a similar problem, and on wowwiki i found this snippet of code:
Note that button:SetTextColor was deleted in 3.0. To set the button text color, you need to set the button font object, then get a copy of it, then modify the color of the new object and then assign the copy back to the button. For example: button:SetNormalFontObject("GameFontHighlight"); local font = button:GetNormalFontObject(); font:SetTextColor(1, 0.5, 0.25, 1.0); button:SetNormalFontObject(font);
I tried to do something similar, but i created the font instead of inheriting one.
And it work, excep for the color part: the text is always black. I already checked and TabFontColor is the right value. Anyone got any idea why it doesn't work? :(
ps. i'm an absolute beginner in both lua and addon coding... so pleas be a little kind :D
I comment out setfont and settextcolor and all works properly, just no tab labels, so something is screwed there, I dont know enough either to fix this.
mmh... a graphic button wouldn't be right...
Maybe ill try asking in in the code forum.
Has anyone any means to contact Kameril?
I've added a few option i needed for chatframe zoom, and started to look at the localization.
I've also found something regarding the tab problem, but i could use some help (never done addon coding before, and dock doesn't strike me as simple...)
function DockClass:UpdateTab()
local tab = self.Tab
if not tab then
return
end
local db = self.db.profile
if not db.AllowTabMode then
return self:RestoreFromTab()
end
tab:SetFont(MediaHandler:Fetch("font", db.TabFont), db.TabFontSize)
if db.TabOrientation == "Vertical" then
local label = "" --not called often enough to worry about garbage
for letter in self.Name:gmatch(".") do
label = label .. letter .. "\n"
end
tab:SetText(label)
local fs = tab:GetFontString()
tab:SetHeight(fs:GetHeight() + db.TabSize)
tab:SetWidth(fs:GetWidth() + db.TabSize)
else
tab:SetText(self.Name)
tab:SetHeight(30)
local fs = tab:GetFontString()
tab:SetWidth(fs:GetWidth() + db.TabSize)
tab:SetHeight(fs:GetHeight() + db.TabSize)
end
tab:SetTextColor(unpack(db.TabFontColor))
tab:ClearAllPoints()
tab:SetPoint("CENTER", UIParent, "BOTTOMLEFT", db.TabX, db.TabY)
do
local backdrop = db.TabBackdrop
local bg, edge = backdrop.bgFile, backdrop.edgeFile
backdrop.bgFile, backdrop.edgeFile = MediaHandler:Fetch("background", bg), MediaHandler:Fetch("border", edge)
tab:SetBackdrop(backdrop)
backdrop.bgFile, backdrop.edgeFile = bg, edge
end
tab:SetBackdropColor(unpack(db.TabColor))
tab:SetBackdropBorderColor(unpack(db.TabBorderColor))
tab:SetMovable(not db.Locked)
end
The SetFont call always give error. Since tab is a button it should work...
0
http://www.wowace.com/addons/project-5416/repositories/silver/
just take it from here for now.
0
I had the same idea, but he asked me to start a fork...
0
0
Change the anchoring, docked frame automatically expand the opposite way :D maybe ill try to see if it can be done automatically.
0
0
Link Removed: http://www.mediafire.com/?sharekey=3992c9eed12c4b58dd8b33b5aa27078d
Began some localization, tho far from finished.
0
0
Note that button:SetTextColor was deleted in 3.0. To set the button text color, you need to set the button font object, then get a copy of it, then modify the color of the new object and then assign the copy back to the button. For example: button:SetNormalFontObject("GameFontHighlight"); local font = button:GetNormalFontObject(); font:SetTextColor(1, 0.5, 0.25, 1.0); button:SetNormalFontObject(font);
I tried to do something similar, but i created the font instead of inheriting one.
And it work, excep for the color part: the text is always black. I already checked and TabFontColor is the right value. Anyone got any idea why it doesn't work? :(
ps. i'm an absolute beginner in both lua and addon coding... so pleas be a little kind :D
0
mmh... a graphic button wouldn't be right...
Maybe ill try asking in in the code forum.
Has anyone any means to contact Kameril?
Link Removed: http://www.mediafire.com/file/yj52mj2tmd1/Dock.zip
it works now, but it wont change the font:
When i have time i'll try to ask why is this happening
0
I've also found something regarding the tab problem, but i could use some help (never done addon coding before, and dock doesn't strike me as simple...)
The SetFont call always give error. Since tab is a button it should work...
0
Link Removed: http://www.mediafire.com/file/tmrkztwzjjr/Dock.zip
i'll try to ask the author if i can put it up again somewhere in wowace or similar.
0
I dont have enough lua and addon coding experience (im a programmer tho) so i cant help....
I wish you for the best. :)
Trying to balance for his rudeness, even if i know it won't be enough.
0