Re #3167: Code cleanup, old bitmap loading code removed, now stb_image used exclusively. Malloc traces disabled.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user