subpixel: update drawing to support both types

This commit is contained in:
Gabor Kiss-Vamosi
2019-10-10 07:09:26 +02:00
parent a12bbfe0d2
commit 7f7abe9a93
3 changed files with 102 additions and 50 deletions

View File

@@ -353,6 +353,12 @@ typedef void * lv_font_user_data_t;
# define lv_vsnprintf vsnprintf
#endif /*LV_SPRINTF_CUSTOM*/
/* Set the pixel order of the display.
* Important only if "subpx fonts" are used.
* With "normal" font it doesn't matter.
*/
#define LV_SUBPX_BGR 0
/*===================
* LV_OBJ SETTINGS
*==================*/