Skip to content

Commit

Permalink
Rename #2
Browse files Browse the repository at this point in the history
  • Loading branch information
RebornedBrain committed Oct 14, 2024
1 parent 676eab2 commit 0241d8d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions applications/services/gui/canvas.c
Original file line number Diff line number Diff line change
Expand Up @@ -512,12 +512,10 @@ void canvas_draw_xbm(
size_t height,
const uint8_t* bitmap) {
furi_check(canvas);
x += canvas->offset_x;
y += canvas->offset_y;
canvas_draw_u8g2_bitmap(&canvas->fb, x, y, width, height, bitmap, IconRotation0);
canvas_draw_xbm_ex(canvas, x, y, width, height, IconRotation0, bitmap);
}

void canvas_draw_xbm_custom(
void canvas_draw_xbm_ex(
Canvas* canvas,
int32_t x,
int32_t y,
Expand Down
2 changes: 1 addition & 1 deletion applications/services/gui/canvas.h
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ void canvas_draw_xbm(
* @param bitmap pointer to XBM bitmap data
*/

void canvas_draw_xbm_custom(
void canvas_draw_xbm_ex(
Canvas* canvas,
int32_t x,
int32_t y,
Expand Down

0 comments on commit 0241d8d

Please sign in to comment.