use RLE compressed fonts on Horus

This commit is contained in:
Raphael Coeffic
2018-07-06 08:59:34 +02:00
parent caaba0ab3f
commit 96afa57d84
10 changed files with 106 additions and 14 deletions
@@ -93,6 +93,7 @@ else()
../../../../../targets/common/arm/stm32/sdio_sd.c
../../../../../targets/${TARGET_DIR}/haptic_driver.cpp
../../../../../gui/${GUI_DIR}/bitmapbuffer.cpp
../../../../../gui/${GUI_DIR}/rle.cpp
../../../../../syscalls.c
)
+1
View File
@@ -101,6 +101,7 @@ set(GUI_SRC
${THEMES_SRC}
${LAYOUTS_SRC}
${WIDGETS_SRC}
rle.cpp
)
if(DISK_CACHE)
set(SRC ${SRC} disk_cache.cpp)
@@ -40,6 +40,9 @@ void bootloaderInitScreen()
lcdColorTable[BARGRAPH2_COLOR_INDEX] = RGB(73, 219, 62); // green
backlightEnable(BACKLIGHT_LEVEL_MAX);
//TODO: load/decompress bitmaps
loadFonts();
}
static void bootloaderDrawTitle(unsigned int x, const char* text)