• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

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