• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Source problem :)

Joined
Oct 2, 2010
Messages
1,771
Reaction score
228
How to align the text on the middle?

CNDev - Source problem :) - RaGEZONE Forums


how to change the color of [x]Twoo? because its too dark :) i want to make it lighter hehehe


CNDev - Source problem :) - RaGEZONE Forums


THANKS IN ADVANCE :eek:tt: :eek:tt: :eek:tt:
 
Joined
Mar 20, 2012
Messages
760
Reaction score
368
Thnx for inbox me the files. to change the color :

1. Open BasicTextBox.cpp

2. Find :
Code:
sTextWord.strWord = MLText[i].strLine.Mid ( strText.strHeader.GetLength() + 1, strText.strName.GetLength() - 2 );
sTextWord.dwColor = D3DCOLOR_ARGB([COLOR="#FF0000"]0xFF,0x00,0x26,0xFF[/COLOR]);
m_pFont->GetTextExtent ( sTextWord.strWord.GetString(), strSize );
sTextWord.strSize = strSize;


3. Change 0xFF,0x00,0x26,0xFF to other color code.

example :

If u want change to lightcyan color, replace 0xFF,0x00,0x26,0xFF with 0xFF,0xE0,0xFF,0xFF


good luck :)
 
Last edited:
Upvote 0
Back
Top