.tga is not transparent - .png is
Hey ive a problem with the transparent of a texture.
Its always white instead of transparent. If I save it as .png it works - but this format isnt supportet, correct? thats how it looks like in photshop (okay a bit different cause i change the look but anyways) Doesnt matter whats on the alpha channel its everytime the same: white border .. even if the whole alpha channel is white or black (dont know whats what atm). Hope someone can help me there. magges |
Aah come on! :(
|
save as png than convert to blp and you should be fine
|
Thanks
But now i did is like this: - save as .png - download gimp (...cause i own photoshop!) - save in gimp as .tga - works fine aaargh. Anyways ive a second question: Code:
if not AtlasLootDefaultFrame:IsShown() then |
Use Paint.Net, GIMP or another decent paint program and make sure the TGA file has an Alpha Layer.
http://en.wikipedia.org/wiki/Alpha_compositing |
Add a black layer (Ebene) behind everything, save as tga with standard parameters and you're done. Works fine for me in Photoshop.
|
Doesnt work for me but as i said: already did it with GIMP.
The other Question is important too:P! Oh and how can I toggle the Omen Window? Im working on my first addon .. so im not that good at lua but i give my best /e atlasbutton:SetScript("OnMouseDown", function() ToggleFrame(AtlasLootDefaultFrame) end) works find but i dont know the name of the omen frame: OmenTitle wont work |
Did you set texture blend mode in wow?
|
yeah i did :/ ..this problem is already solved.
But ive another problem: Quote:
Code:
if not AtlasLootDefaultFrame:IsShown() then |
Quote:
|
I know. The title of the omen is named: OmenTitle .. but it wont work and i dont get where i can figure it out in the omen.lua
|
Quote:
|
id try to just add a ChatMessage (dunno the command) /omen toggle without space but my character just says "/omen toggle" >.<
|
You should be able to show Omen by calling Omen:Toggle()
|
Will test that later, thanks.
But ..youre not sure, right? Skada:Toggle() think that doesnt work cause Skada is no frame a |
I stole that from Omen's keybinding file. When you hit the keybinding that is the function that is called to show/hide Omen's window.
|
Thanks. But for omen
Code:
SetScript("OnMouseDown", function() ToggleFrame(OmenAnchor) end) but not for Skada grml |
You will have to find what function Skada uses. You can't pick something from one addon's custom code and expect it to work with another's. ;) This isn't basic WoW API here, but rather how the author's themselves chose to code their addons and name things.
|
Okay nice, found it:
Code:
Skada:ToggleWindow() with Omen:Toggle() it works :/ |
Looking at the Skada code, that function doesnt' take any arguments, and the hide or show is built right in (ie, it's smart and figures it out on its own)
|
All times are GMT -6. The time now is 04:16 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI