Sign in to follow this  
Followers 0
afx

Font and color in main chat

2 posts in this topic

Hi,

I once had oDC and there was a small trick to let you write in the main chat using the font, the color and the size you want. As far as I remember, it consisted of an XML written in the EditBox of my messages, with some values and some attributes... I'm trying to discover it again... and to use on ApexDc main chat. The hole thing is that only you could write with the font, color and size that you want, all the other people messages remaining the same default chat text.

Does anyone know about that?

And does anyone know how to do it?

:)

Thanks.

Share this post


Link to post
Share on other sites

Saw that there's no answer to your question and decided to do it :blushing:

So.. open in notepad the file DCPlusPlus.xml, located in Settings directory. Find the line starting with <TextColor

Lets assume that you want to use white text ( this will affect not only the text written in the input box, but the text in transfer view and in favorites and filelist tree view ). You need to change the value to

<TextColor type="int">16777215</TextColor>
For black it's 0 For red - 255 We find in Apex source
setDefault(TEXT_COLOR, RGB(67, 98, 154));

which is green

It should be RGB, but i don't know why white isn't 255255255 for example.

Or if you want some other values just search for color in that xml, you will find them :)

Hope that i've helped you <_<

PS: @Crise...it's good one option, or several ones to be added in TEXT_STYLES dialog :)

Share this post


Link to post
Share on other sites
Sign in to follow this  
Followers 0