issue #364, clip window support

This commit is contained in:
kraus 2018-10-27 22:47:15 +02:00
parent f907d00a0e
commit c25d3986f2
2 changed files with 4 additions and 1 deletions

View File

@ -89,7 +89,7 @@
Setting a clip window will restrict all drawing to this window.
Clip window support requires about 200 bytes flash memory on AVR systems
*/
//#define U8G2_WITH_CLIP_WINDOW_SUPPORT
#define U8G2_WITH_CLIP_WINDOW_SUPPORT
/*

View File

@ -48,6 +48,9 @@ int main(void)
u8g2_SetFontDirection(&u8g2, 0);
u8g2_SetClipWindow(&u8g2, 10, 10, 50, 60 );
u8g2_SetDisplayRotation(&u8g2, U8G2_R0);
u8g2_FirstPage(&u8g2);
do