07-20-2023, 10:12 AM
(This post was last modified: 07-20-2023, 11:08 AM by WhiteHexagon.)
(07-20-2023, 01:46 AM)lupyuen Wrote: https://github.com/lupyuen/pinephone-lvg...js#L41-L50
Probably going to have a performance impact? I attempted instead to change the color order in the union (lv_color32_t) in lv_color.h but no luck. Changing the macro LV_COLOR_MAKE32 and swapping the R+B did work... but is clearly not the solution
Today got wasted with trying to understand optionals between Zig and C. I wasnt expecting a C pointer to become a Zig optional, and now I see why you wrapped some of the GUI objects into Zig structs I was only trying to wrap my GUI code in a nice generics struct hehe.
Anyway I made a nice little panel so that I can better debug Register values, it just shows hex and binary values so that I can check flags, masks etc.
First attempt at attachments ...