u8g2
u8g2 copied to clipboard
mui_u8g2_draw_button_utf_pi not defined
Hey Oli, great library thanks for building this.
I'm trying to define my own custom mui field which will render a "pi" style button, but I notice that mui_u8g2_draw_button_utf_pi
is not actually implemented in mui_u8g2.c
, even though it is defined in the header.
Is this intentional? I would love access to some of the "private" drawing functions from mui_u8g2.c to create my own fields.
Best
- j
Mui is work in progress. I did a lot of renaming so it might be happened due to that. It is at least not intentional. Thanks for the hint. I will look into this.
Thanks! I’m using Mui on a couple of my projects already and love it.
ah, your request is to have "mui_u8g2_draw_button_utf_pi" because it is not there.
The goto button is there: "mui_u8g2_btn_goto_w1_pi" what exactly do you need? Actually your function should be there already, it is "mui_u8g2_draw_button_pi". I actually removed all the utf strings from the names, because MUI will only use UTF8.
Ah, I see the problem. Yes indeed it looks like a renaming problem. I will update the header.
Thank you! This will allow me to remove a ton of duplication.
Great. Note that I have just released 2.33.15, so the update should be there soon in Arduino IDE.