COLOR_A support? #70
-
I want to make an overlay that will have a semi-transparent background. I figured out how to do it with EVE Screen Editor, but this library does not appear to support COLOR_A. Am I just missing something? This is what I am trying to do: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
It is defined as macro, use COLOR_A(value) - one of these things that I never actually used and that is one of the original macros. Somehow this is all inconsistent by now. Looking at the current EVE Screen Editor I should add a couple more functions. void EVE_color_a(uint8 alpha); Plus a couple of others like clear, color_mask, line_width, point_size and so on, everything that has not CMD_ in the name in ESE and still looks like a function while it originally was implemented as a macro to provide a 32 bit value for a cmd_dl() call. Well, plus adding a couple more DL_ defines would not hurt either. |
Beta Was this translation helpful? Give feedback.
-
That did it. Thanks! |
Beta Was this translation helpful? Give feedback.
It is defined as macro, use COLOR_A(value) - one of these things that I never actually used and that is one of the original macros.
EVE_cmd_dl_burst(COLOR_A(0xEE));
Somehow this is all inconsistent by now.
Looking at the current EVE Screen Editor I should add a couple more functions.
I already added EVE_color_rgb().
void EVE_color_a(uint8 alpha);
Plus a couple of others like clear, color_mask, line_width, point_size and so on, everything that has not CMD_ in the name in ESE and still looks like a function while it originally was implemented as a macro to provide a 32 bit value for a cmd_dl() call.
Well, plus adding a couple more DL_ defines would not hurt either.
The macros provide range …