If you are going to take any code from Aurora (which it looks like you are) then I'd rather you ask for permission first before doing so.
|
Quote:
I am trying to Reskin the Blizzard UI all by myself while putting my own spin on it. I honestly have tried doing everything all by myself as I like to see how well I can do it (more of an achievement and learning experience). I wanted my AddOn to skin less than what yours does so your mod is larger. Also I wanted to skin things slightly different :) I took a look at your code only a few times when I got stuck to see how you handled certain parts but then used my own functions to skin it in a completely different way. I mostly have been studying the Blizzard AddOn files to do this. I hope this is okay? It is not published yet and while I am asking, am I allowed to use small snippets of your code in future? I will give credit where credit is due! So far 100% of my code I have wrote by myself but I suppose there is a chance that some parts work in similar ways if there is only one way to do it. Really sorry if I crossed the line by mistake Haleth, I just thought the AddOn Skinner does reskinning as well so why can't I make my own? |
That's fine then. I don't mind if you use small parts as long as credit is given :)
|
Quote:
I am trying to keep some of the UI more "Blizzard-like" while trying to clean up other parts. I have also made the frames move-able however because of pixel perfect borders, the Icons some times look wrong if the frame has been moved in certain areas of the screen. I heard this is a very common problem where the game client does not handle pixel perfect borders by default. Here is what I mean: So it looks slightly different to yours but I still have a few issues with those icon borders. I read somewhere that this code helps but I am using that in a "PLAYER_ENTERING_WORLD" Event but it did not fix anything: Lua Code:
I would love some help from anyone but probably should have posted this in a new thread? hehe ah well its not urgent I guess :) |
When you manually drag frames around, they'll almost always land on fractional coordinates. This will negate your attempts to make things pixel perfect.
|
Quote:
|
Rather than using an overlay to create your border, use a background. This way you can make sure it's always outside of the object you're bordering, and always exactly 1px wide:
Code:
local bg = object:CreateTexture(nil, "BACKGROUND") |
Scroll frames have always been good at giving me headaches when dealing with pixel-precision stuff. Sometimes certain buttons/icons are 1px higher or further offset to the left/right. The mount/pet journal and guild reward overview come to mind. Thankfully WoD fixes some of those issues.
|
All times are GMT -6. The time now is 08:54 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI