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>
17 lines
284 B
C
17 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);
|