JB3DG
Resource contributor
- Messages
- 1,325
- Country

Hi
I got around most of those issues that I was having with my GDI+ gauge. Now I have discovered that the last issue of my gauge refusing to draw is due to my using a IMAGE_USE_TRANSPARENCY draw flag in both the MAKE_STATIC macros as can be seen below:
MAKE_STATIC
(
HUD_surface,
HUD_SURF,
NULL,
NULL,
IMAGE_USE_TRANSPARENCY,
0,
0,0
)
PELEMENT_HEADER HUD_next[] = { &HUD_surface.header, NULL };
MAKE_STATIC
(
HUD_background,
HUD_BGND,
HUD_next,
NULL,
IMAGE_USE_TRANSPARENCY,
0,
0,0
)
PELEMENT_HEADER HUD_list = &HUD_background.header;
If I use any other draw flag in the HUD_surface object it shows up but I need the gauge to be transparent (it is 0,0,0 black) because this is for a HUD. Anyone who can help?
Thanks
JB
I got around most of those issues that I was having with my GDI+ gauge. Now I have discovered that the last issue of my gauge refusing to draw is due to my using a IMAGE_USE_TRANSPARENCY draw flag in both the MAKE_STATIC macros as can be seen below:
MAKE_STATIC
(
HUD_surface,
HUD_SURF,
NULL,
NULL,
IMAGE_USE_TRANSPARENCY,
0,
0,0
)
PELEMENT_HEADER HUD_next[] = { &HUD_surface.header, NULL };
MAKE_STATIC
(
HUD_background,
HUD_BGND,
HUD_next,
NULL,
IMAGE_USE_TRANSPARENCY,
0,
0,0
)
PELEMENT_HEADER HUD_list = &HUD_background.header;
If I use any other draw flag in the HUD_surface object it shows up but I need the gauge to be transparent (it is 0,0,0 black) because this is for a HUD. Anyone who can help?
Thanks
JB

