- Messages
- 64
- Country

Hi,
Should the alpha values in pens and brushes be giving transparent objects when used in FSX gauges?
I'm trying to have a brightness control for a HUD, which I assumed would be a simple case of adjusting the alpha values 'on-the-fly'. However, when setting the alpha for either a pen or a brush it either doesn't appear at all between the values of 0 and 125, or appears completely solid from 125->.
For example...
mBluePen = new Pen(Color( 50, 100, 250, 100 ), (REAL)PENWIDTH); doesn't appear
mBluePen = new Pen(Color( 150, 100, 250, 100 ), (REAL)PENWIDTH); appears completely solid
The project is built upon the ESP opaque/transparent template.
Am I doing something wrong, or do these transparencies not work in FS?
Thanks
Should the alpha values in pens and brushes be giving transparent objects when used in FSX gauges?
I'm trying to have a brightness control for a HUD, which I assumed would be a simple case of adjusting the alpha values 'on-the-fly'. However, when setting the alpha for either a pen or a brush it either doesn't appear at all between the values of 0 and 125, or appears completely solid from 125->.
For example...
mBluePen = new Pen(Color( 50, 100, 250, 100 ), (REAL)PENWIDTH); doesn't appear
mBluePen = new Pen(Color( 150, 100, 250, 100 ), (REAL)PENWIDTH); appears completely solid
The project is built upon the ESP opaque/transparent template.
Am I doing something wrong, or do these transparencies not work in FS?
Thanks

