Results: 7Comments by: Lùinwë |
File: rButtonTemplate03-14-10 |
Hi,
For a better view on my UI, I...
Posted By: Lùinwë
Hi,
For a better view on my UI, I modified the line 90 :
nt:SetHeight(bu:GetHeight()+4)
nt:SetWidth(bu:GetWidth()+4)
and the line 110 :
ic:SetPoint("TOPLEFT", bu, "TOPLEFT")
ic:SetPoint("BOTTOMRIGHT", bu, "BOTTOMRIGHT")
The problem is that the modification only is applied on my normal border, checked and pushed borders still...
|
File: LiteStats03-11-10 |
Originally posted by Katae
Where...
Posted By: Lùinwë
Originally posted by Katae
Where do you want it to be a gradient? The text format or in the list of addons?
Thanks a lot, it's just what I need. I just added a modification :
local hex = gradient(self.total / 20000)
give me the colour in red with only 130kb, replaced by :
local hex = gradient(self.total / 20*1024)
and it works...
|
File: LiteStats03-10-10 |
Originally posted by Katae
You'll...
Posted By: Lùinwë
Originally posted by Katae
You'll need to mess with the custom gradient that I wrote. Didn't use the gradient function for that one because I felt it was turning yellow/orange either too late or too early.
Ok I see the problem, but I don't understand what is the code to use exactly. Could you give me an example for that ? I usua...
|
File: LiteStats03-10-10 |
Originally posted by Katae
Replac...
Posted By: Lùinwë
Originally posted by Katae
Replace the existing FPS module with this code:
------------------------------------------
-- FPS
if not modules.FPS.enabled then blank'FPS' else
NewStat("FPS", {
text = {
string = function()
local fps = floor(GetFramerate())
return format(g...
|
File: RaidFramesPlus05-05-09 |
there are 3 "nil" errors in 2.30.1,...
Posted By: Lùinwë
there are 3 "nil" errors in 2.30.1, you're missing "or 1" and "or 0.75" and "or "" "
I'm ok with this fix. I understand why you don't have seen this problem, I think you already have the files in savedvariables, so the values are right. When you use the addon for the first time, we've got the errors :)
ps : the lines for the 3...
|
File: RaidFramesPlus05-05-09 |
I've an error on enter to the menu...
Posted By: Lùinwë
I've an error on enter to the menu :
http://i61.servimg.com/u/f61/11/01/92/85/sans_t10.jpg
It seems the new fonction to scale is the problem. An idea to fix it ?
|
File: rButtonTemplate01-30-09 |
Is there a way to resize textures l...
Posted By: Lùinwë
Is there a way to resize textures like HighlightTexture (hover.tga) for example ?
I did this for the NormalTexture :
local nt = _G
nt:SetHeight(bu:GetHeight())
nt:SetWidth(bu:GetWidth())
nt:SetPoint("TOPLEFT", bu, "TOPLEFT", -2, 2)
nt:SetPoint("BOTTOMRIGHT", bu, "BOTTOMRIGHT", 2, -2)
But now the size o...
|