iPhone Re-Brand Help

AlexT,

Can you please tell me how to make the text color orange in the config.h ? I cant figure out this color coding ya'll have for nothing.

 

Here is what it is by default, so what do I need to put to make the text color orange?

 

// text color
#define BX_TEXT_RED 1.0
#define BX_TEXT_GREEN 1.0
#define BX_TEXT_BLUE 1.0
#define BX_TEXT_ALPHA 1.0

Nothing to see here
Quote · 28 Nov 2011

The colours variation are from 0.0 to 1.0. 

To translate from hex code, use the following calculations.

For example we need to use orange: #ffb400

Translate to rgb:

r = 255

g = 180

b = 0

To translate these numbers to 0.0 to 1.0 range we need Xrgb / 255 = X01

For example for g: 180 / 255 = 0.706...

So the final result:

#define BX_TEXT_RED 1.0
#define BX_TEXT_GREEN 0.706
#define BX_TEXT_BLUE 0.0
#define BX_TEXT_ALPHA 1.0

Alpha is from 0.0 to 1.0 range too, 1.0 - not transparent, 0.0 - completely transparent(invisible), 0.5 - 50% transparent

Rules → http://www.boonex.com/terms
Quote · 30 Nov 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.