WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Lua/XML Help (https://www.wowinterface.com/forums/forumdisplay.php?f=16)
-   -   Need help with personal stuff. (https://www.wowinterface.com/forums/showthread.php?t=59030)

darhanger 01-30-22 04:11 PM

Need help with personal stuff.
 
Hey. I need help with some frames. Cant find any for this. If need i can paid also.

Tim 01-30-22 06:35 PM

No one will be able to help you going off of just what you've posted. It would help if you actually put what you're having trouble with and/or what you're wanting accomplished.

darhanger 01-31-22 01:09 PM

i post. But nobody answer

Xrystal 01-31-22 01:52 PM

'help with some frames' doesn't really help anyone see if they can help you.

Which frames are you needing help with ? Is it someone else's addon? Which one ? Is it a frame already in the game? Which one ?

Are you trying to create a new addon ? What are you trying to create ? Maybe there is an existing addon that will suffice, or you can use that addon to learn how to create an addon you want.

What version of wow were you wanting help with ? People may not have full access to the game to help properly.

If you were wanting someone to create an addon that does what you want it to, more details on that would be useful so that people who may find the idea a good one and may be willing to create an addon for that purpose.

darhanger 02-02-22 06:28 AM

Quote:

Originally Posted by Xrystal (Post 340249)
'help with some frames' doesn't really help anyone see if they can help you.

Which frames are you needing help with ? Is it someone else's addon? Which one ? Is it a frame already in the game? Which one ?

Are you trying to create a new addon ? What are you trying to create ? Maybe there is an existing addon that will suffice, or you can use that addon to learn how to create an addon you want.

What version of wow were you wanting help with ? People may not have full access to the game to help properly.

If you were wanting someone to create an addon that does what you want it to, more details on that would be useful so that people who may find the idea a good one and may be willing to create an addon for that purpose.


https://www.wowinterface.com/forums/...ad.php?t=58989

Fizzlemizz 02-02-22 11:09 AM

Lua Code:
  1. local f = CreateFrame("Button", nil, UIParent)
  2. f:SetSize(32, 32)
  3. f:SetPoint("CENTER")
  4. f:SetNormalTexture("Interface/BUTTONS/UI-GroupLoot-Coin-Up.blp")
  5. f:SetPushedTexture("Interface/BUTTONS/UI-GroupLoot-Coin-Down.blp")
  6. f.Texture = f:CreateTexture(nil, "OVERLAY")
  7. f.Texture:SetAlpha(0.9)
  8. f.Texture:SetPoint("TOPLEFT", -3, 3)
  9. f.Texture:SetPoint("BOTTOMRIGHT", -3, 3)
  10. f.Texture:SetTexture("Interface/Minimap/MiniMap-TrackingBorder")
  11. f.Texture:SetTexCoord(0.05, 0.54180000305167, 0.03, 0.5199999833107)
the SetTexCoord and SetPoints can be better adjusted if you want to go with the "full sized" overlay.

darhanger 02-03-22 12:47 PM

Quote:

Originally Posted by Fizzlemizz (Post 340258)
Lua Code:
  1. local f = CreateFrame("Button", nil, UIParent)
  2. f:SetSize(32, 32)
  3. f:SetPoint("CENTER")
  4. f:SetNormalTexture("Interface/BUTTONS/UI-GroupLoot-Coin-Up.blp")
  5. f:SetPushedTexture("Interface/BUTTONS/UI-GroupLoot-Coin-Down.blp")
  6. f.Texture = f:CreateTexture(nil, "OVERLAY")
  7. f.Texture:SetAlpha(0.9)
  8. f.Texture:SetPoint("TOPLEFT", -3, 3)
  9. f.Texture:SetPoint("BOTTOMRIGHT", -3, 3)
  10. f.Texture:SetTexture("Interface/Minimap/MiniMap-TrackingBorder")
  11. f.Texture:SetTexCoord(0.05, 0.54180000305167, 0.03, 0.5199999833107)
the SetTexCoord and SetPoints can be better adjusted if you want to go with the "full sized" overlay.

Try change "Interface/BUTTONS/UI-GroupLoot-Coin-Up.blp" to "Interface\\Icons\\inv_misc_head_dragon_01"

and got like this:


Any idea how fix it?

Fizzlemizz 02-03-22 02:38 PM

You could adjust the size of the border overlay by changing it's anchor points. Something like:
Code:

f.Texture:SetPoint("TOPLEFT", -4, 4)
f.Texture:SetPoint("BOTTOMRIGHT", 7, -6)

You will have to adjust the overall size of the button.

LibDBIcon does a much better job of making MM buttons look/work like the Blizz. ones but ...

darhanger 02-04-22 04:54 AM

Quote:

Originally Posted by Fizzlemizz (Post 340263)
You could adjust the size of the border overlay by changing it's anchor points. Something like:
Code:

f.Texture:SetPoint("TOPLEFT", -4, 4)
f.Texture:SetPoint("BOTTOMRIGHT", 7, -6)

You will have to adjust the overall size of the button.

LibDBIcon does a much better job of making MM buttons look/work like the Blizz. ones but ...

But? Something wrong?

Dridzt 02-04-22 05:21 AM

Quote:

Originally Posted by darhanger (Post 340266)
But? Something wrong?

No, nothing is wrong with LibDBIcon.

It's a good standard and so long as its maintained there's no reason to be re-inventing the wheel.

When / if a change happens to minimap code only 1 fix will be needed in the library and a simple update will fix all the addons using it.


All times are GMT -6. The time now is 02:05 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI