-
I'm curious to know how the yellow "screenshots" are rendered, are you using some kind of emulator? Would love to take some of my own. |
Beta Was this translation helpful? Give feedback.
Answered by
olikraus
Aug 5, 2022
Replies: 1 comment 1 reply
-
For https://github.com/olikraus/u8g2/wiki/u8g2reference and https://github.com/olikraus/u8g2/wiki/muimanual there is indeed an sdl emulation https://github.com/olikraus/u8g2/blob/master/sys/sdl/mui_ref/main.c for the creation of the animations. This in turn has a screenshot function Line 871 in 7395c68 which is based on the Line 814 in 7395c68 function which is a unix extention: https://github.com/olikraus/u8g2/tree/master/sys/bitmap/common |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
loopj
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For https://github.com/olikraus/u8g2/wiki/u8g2reference and https://github.com/olikraus/u8g2/wiki/muimanual there is indeed an sdl emulation https://github.com/olikraus/u8g2/blob/master/sys/sdl/mui_ref/main.c for the creation of the animations.
This in turn has a screenshot function
u8g2/sys/sdl/mui_ref/main.c
Line 871 in 7395c68
which is based on the
u8g2/csrc/u8x8.h
Line 814 in 7395c68
function which is a unix extention: https://github.com/olikraus/u8g2/tree/master/sys/bitmap/common