Frame highlight mouseover
What's the correct/best way to create a highlight effect when mousing over a frame?
|
If you don't mind making the frame intercept mouse clicks then you can do it like
Lua Code:
I think buttons have highlight scripts set up by default. |
Works perfect thank you!
|
If you just want to show textures and/or font strings on mouseover (like the highlight texture on buttons in default UI) you don't need to use scripts; you can just put them on the "HIGHLIGHT" layer:
Code:
-- A transparent yellow texture will appear on mouseover: |
All times are GMT -6. The time now is 06:27 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI