refactor: Drop FsFile alias, use HalFile in downstream code (#2141)
This commit is contained in:
@@ -64,7 +64,7 @@ class Bitmap {
|
||||
public:
|
||||
static const char* errorToString(BmpReaderError err);
|
||||
|
||||
explicit Bitmap(FsFile& file, bool dithering = false) : file(file), dithering(dithering) {}
|
||||
explicit Bitmap(HalFile& file, bool dithering = false) : file(file), dithering(dithering) {}
|
||||
~Bitmap();
|
||||
BmpReaderError parseHeaders();
|
||||
BmpReaderError readNextRow(uint8_t* data, uint8_t* rowBuffer) const;
|
||||
@@ -78,10 +78,10 @@ class Bitmap {
|
||||
uint16_t getBpp() const { return bpp; }
|
||||
|
||||
private:
|
||||
static uint16_t readLE16(FsFile& f);
|
||||
static uint32_t readLE32(FsFile& f);
|
||||
static uint16_t readLE16(HalFile& f);
|
||||
static uint32_t readLE32(HalFile& f);
|
||||
|
||||
FsFile& file;
|
||||
HalFile& file;
|
||||
bool dithering = false;
|
||||
int width = 0;
|
||||
int height = 0;
|
||||
|
||||
Reference in New Issue
Block a user