flipperzero-firmware/applications/gui/canvas_i.h
あく 0af239ebc0
GUI: status bar rendering. Power: battery indicator. (#207)
* 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>
2020-10-29 10:11:16 +03:00

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);