mirror of
https://github.com/esphome/esphome.git
synced 2024-11-04 09:01:53 +01:00
Add getter for image data_start (#6036)
This commit is contained in:
parent
79d00ec913
commit
65e6f9cba9
@ -37,6 +37,7 @@ class Image : public display::BaseImage {
|
||||
Color get_pixel(int x, int y, Color color_on = display::COLOR_ON, Color color_off = display::COLOR_OFF) const;
|
||||
int get_width() const override;
|
||||
int get_height() const override;
|
||||
const uint8_t *get_data_start() { return this->data_start_; }
|
||||
ImageType get_type() const;
|
||||
|
||||
void draw(int x, int y, display::Display *display, Color color_on, Color color_off) override;
|
||||
|
Loading…
Reference in New Issue
Block a user