mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-25 04:03:07 +00:00
0af239ebc0
* Menu: animation. Irukagotchi: idle image. * Power: battery, usb activity widget * Power: tune battery max voltage and clamp overshoot * get initial charge state Co-authored-by: Aleksandr Kutuzov <aku@plooks.com> Co-authored-by: aanper <mail@s3f.ru>
16 lines
284 B
C
16 lines
284 B
C
#pragma once
|
|
|
|
CanvasApi* canvas_api_init();
|
|
|
|
void canvas_api_free(CanvasApi* api);
|
|
|
|
void canvas_reset(CanvasApi* api);
|
|
|
|
void canvas_commit(CanvasApi* api);
|
|
|
|
void canvas_frame_set(
|
|
CanvasApi* api,
|
|
uint8_t offset_x,
|
|
uint8_t offset_y,
|
|
uint8_t width,
|
|
uint8_t height);
|