• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

HIVE

Tasyen
Tasyen
I don't know how to do it directly.
One could mimic the behaviour with multiple textures each displaying one part of the border using TexCoord one could reuse the default border images. I once tried it but I did not finish this attempt. It is quite some work.

TexCoord Left, Right, Up, Bottom,
TexCoord 0, 1, 0, 0.125,

To get this numbers one would open the border file in gimp select the wanted section and swap to percent coord view and use the given numbers/100.

You just might have a backdrop in a lower layer by using a different parent to have the backdrop below your simpleframe. V1.32+ make it easy with that "ConsoleUIBackdrop" as parent.
HolyWolf
HolyWolf
i'll give it a try.
thank you!
Tasyen
Tasyen
HolyWolf
HolyWolf
thankyou, that's a greate help~~ :thumbs_up:
i cut the borders to 8 parts ... but your code is more simple and modelized, will use it in future.
Av3n
Av3n
Apologies for the necro-post... I stumbled upon this profile thread while researching what others did to style tooltip frames.
I learnt that "BACKDROP" and "TEXT" could be child frames of "SIMPLEFRAME" (after noticing "TEXT" as a child frame in a Blizzard fdf). So something like this likely simplifies the solution presented by Tasyen, and has all the benefits of defining it as a "BACKDROP" rather than as a "Texture" special frame (see this pastebin).
  • Like
Reactions: Tasyen
Top