mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-14 15:18:35 -07:00
Merge remote-tracking branch 'ul/dev' into mntm-dev
Only partially merged1ceb1eb256and09d6e4ee30Changes to login in cc1101_ext.c and adding setting are ignored
This commit is contained in:
@@ -561,6 +561,19 @@ void canvas_draw_xbm(
|
||||
canvas_draw_u8g2_bitmap(&canvas->fb, x, y, width, height, bitmap, IconRotation0);
|
||||
}
|
||||
|
||||
void canvas_draw_xbm_mirrored(
|
||||
Canvas* canvas,
|
||||
int32_t x,
|
||||
int32_t y,
|
||||
size_t width,
|
||||
size_t height,
|
||||
const uint8_t* bitmap_data) {
|
||||
furi_check(canvas);
|
||||
x += canvas->offset_x;
|
||||
y += canvas->offset_y;
|
||||
canvas_draw_u8g2_bitmap(&canvas->fb, x, y, width, height, bitmap_data, IconRotation180);
|
||||
}
|
||||
|
||||
void canvas_draw_glyph(Canvas* canvas, int32_t x, int32_t y, uint16_t ch) {
|
||||
furi_check(canvas);
|
||||
x += canvas->offset_x;
|
||||
|
||||
Reference in New Issue
Block a user