[Horus] More bitmaps on SD. PNG format used instead of BMP. And yes it's a bad idea given the resources we have.

This commit is contained in:
Bertrand Songis
2016-02-29 22:17:47 +01:00
parent f65e42833e
commit 1fd1e141f2
34 changed files with 274 additions and 98 deletions
+4 -3
View File
@@ -63,8 +63,6 @@ void drawPots()
OPTION_SLIDER_SQUARE_BUTTON);
}
#include "alpha_horus.lbm"
bool menuCommonCalib(evt_t event)
{
drawScreenTemplate(NULL, LBM_CALIBRATION_ICON, OPTION_MENU_NO_FOOTER);
@@ -194,7 +192,10 @@ bool menuCommonCalib(evt_t event)
break;
}
lcd->drawAlphaBitmap((LCD_W-206)/2, LCD_H-220, &ALPHA_HORUS);
static const BitmapBuffer * horus = BitmapBuffer::load(getThemePath("horus.png"));
if (horus) {
lcd->drawBitmap((LCD_W-horus->getWidth())/2, LCD_H-20-horus->getHeight(), horus);
}
drawSticks();
drawPots();