FauxScrollFrameTemplate source code
Hello. Where I can find FauxScrollFrameTemplate source code? I'd like to know which the Button Up and Button Down textures are, and if there is a way to know all the WoW UI textures.
Can you help me? |
Export all the UI code and textures for your viewing pleasure.
For the scroll button textures, Code:
UP = { |
Very well! I extrated the BlizzardInterfaceCode. Now, where I can find the FauxScrollFrameTemplate related file?
|
Find a search tool and look for
Code:
name="FauxScrollFrameTemplate But it inherits other templates that interhit other templates ... so it's a bit of a hunt to bring it all together (like many things in the Blizzard UI) |
I'm so interested in the FauxScrollFrame because I'm trying to set borders on the two buttons, but with disastrous results
Code:
<ScrollFrame name="$parentScrollBar" parentKey="scroll" inherits="FauxScrollFrameTemplate" hidden="false"> |
I don't think it will achieve exactly what you want, which would probably require custom textures, but something l ike:
Code:
local backdrop = { |
This is the result for the ButtonUp:
As you can see, there is a huge margin between the button and the edges. as you can see, there is a huge margin between the button and the edges. The frame has been scaled by a factor of 3 for better display |
The reason for the "I don't think it will achieve exactly what you want, which would probably require custom textures" quote.
You might get slightly better by fiddling with the coords/edgesize etc. but, the Backdrop borders take up edge space, the beveled corners require it be more than just the border line width. You could export the FauxScroll button textures and resize the image/add a border and use those instead. You could maybe add seperate "border" textures to the buttons. |
All times are GMT -6. The time now is 05:39 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI