WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   General Authoring Discussion (https://www.wowinterface.com/forums/forumdisplay.php?f=20)
-   -   Chat channel different sizes (https://www.wowinterface.com/forums/showthread.php?t=49140)

10leej 03-25-14 12:29 AM

Chat channel different sizes
 
I wonder if it's possible to have chat channels in different sizes while in the same window.

Like say have General chat in a 12 point font but trade be 10 point and like that.

Only reason I'm asking is because my newest monitor is 42 inches of real estate so I'm running 18 and 16 point fonts but I think it would be nice to have for a bit more of an organized approach.

Lombra 03-25-14 04:54 AM

Not reastically, no. Would involve some extensive hacking. Or maybe it's not that hard, Idk.

Phanx 03-25-14 03:40 PM

It's probably easier to write your own chat frame from scratch than try to hack a ScrollingMessageFrame to show different channels' messages in different sizes (or fonts, or outline weights, etc).

Also, I think the result of having multiple font sizes in the same chat frame would be very visually unappealing.

Clamsoda 03-26-14 01:35 AM

What would different font sizes do for organization that chat tabs, chat windows, and chat colors couldn't?

10leej 03-26-14 02:04 AM

Quote:

Originally Posted by Clamsoda (Post 291764)
What would different font sizes do for organization that chat tabs, chat windows, and chat colors couldn't?

Well take stuff I want to see but not care a huge amount about and have them smaller. Emotes and stuff.

sylvanaar 05-13-14 10:44 PM

At one point in Prat I hacked up the scrollingmessageframe to try and improve it.

One of the enhancements I made was to lower the alpha on all the lines. Then I could raise the alpha on lines containing text of interest, and they would appear highlighted.

My use case was when you would mouse over the name of the message sender all the messages from that sender in the chatframe would be highlighted, the others faded out. When you stopped mousing over the name the text would display normally.

It was easy to do, you can probably get the code out of an old version of Prat.

By the way. You can also do what you are talking about, and I have some code in and old version of Prat that you could use as a starting point. There was a module called ScrollingMessageFrameHacks I think.

You have one main problem. You either have to dynamically modify the line heights to suit the font, or deal with the visual ugliness of lots of space in between lines when the font size is small.

ScrollingMessageFrame lines are easy to deal with, they just anchor thier bottom to the top of the previous line and stack upwards. Each line of text will grow vertically to enclose the text it contains. You will have to manage hiding lines that overflow the top of the chatframe yourself.

I don't have an image of the highlighting, but this one shows how it is possible to realign the text



I don't really recommend doing this though, because you have to do everything in OnUpdate.

10leej 05-13-14 11:44 PM

Which version of prat? I've never used the addon myself.

sylvanaar 05-14-14 12:09 AM

It is in version 3.2.10 from 2009.


All times are GMT -6. The time now is 04:34 PM.

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