Setting a pattern as shape-fill not working?

I added a macro of marginal utility:

#define LCDOpaquePattern(r0,r1,r2,r3,r4,r5,r6,r7) (LCDPattern){(r0),(r1),(r2),(r3),(r4),(r5),(r6),(r7),0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff}

If you don't know you need the extra mask bits, you probably don't know about the macro either.. :confused:

And the union idea was a bust--it makes LCDColor and LCDSolidColor very different things, which means there has to be a bunch of clumsy type coercion all over the place. Oh well.

1 Like