Use uint32 instead of color_t
Closed this issue · 1 comments
prcastro commented
Use uint32
instead of color_t
. Users of the lib shouldn't have to deal with the complexity of this struct just to draw things on screen. Should be as simples as drawPixel(10, 20, 0xFF20FF20, canvas)
or something like it. We need to understand how to make it support multiple pixel formats (maybe being able to represent the format as uint32
should be a requirement).