add ccache option and transparent color instead of bool (#2269)

* add ccache option and use language helper for proto view app

* add transparent color

* typo

* fix my typo

* fix my typo 2
This commit is contained in:
zxkmm 2024-09-28 20:50:37 +08:00 committed by GitHub
parent b3a0ad018c
commit 419bc75d2f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 46 additions and 19 deletions

View file

@ -62,7 +62,7 @@ class ILI9341 {
const ui::Color background);
void draw_pixel(const ui::Point p, const ui::Color color);
void drawBMP(const ui::Point p, const uint8_t* bitmap, const bool transparency);
void drawBMP(const ui::Point p, const uint8_t* bitmap, const uint8_t* transparency_color);
bool drawBMP2(const ui::Point p, const std::filesystem::path& file);
void render_line(const ui::Point p, const uint8_t count, const ui::Color* line_buffer);
void render_box(const ui::Point p, const ui::Size s, const ui::Color* line_buffer);