Re #3167: Code cleanup, old bitmap loading code removed, now stb_image used exclusively. Malloc traces disabled.

This commit is contained in:
Damjan Adamic
2016-02-28 18:16:16 +01:00
parent 3660101e37
commit cefc78dbe8
2 changed files with 3 additions and 174 deletions
+1 -9
View File
@@ -132,15 +132,7 @@ class BitmapBuffer: public BitmapBufferBase<uint16_t>
void drawBitmapPatternPie(coord_t x0, coord_t y0, const uint8_t * img, LcdFlags flags, int startAngle, int endAngle);
static BitmapBuffer * load_bmp(const char * filename);
static BitmapBuffer * load_stb(const char * filename);
static BitmapBuffer * load(const char * filename) {
#if defined(USE_STB)
return load_stb(filename);
#else
return load_bmp(filename);
#endif
};
static BitmapBuffer * load(const char * filename);
void drawBitmapPattern(coord_t x, coord_t y, const uint8_t * bmp, LcdFlags flags, coord_t offset=0, coord_t width=0);