mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-24 03:29:57 -07:00
Remove some old unused APIs, -350b DFU
This commit is contained in:
@@ -567,23 +567,6 @@ void canvas_draw_glyph(Canvas* canvas, uint8_t x, uint8_t y, uint16_t ch) {
|
||||
u8g2_DrawGlyph(&canvas->fb, x, y, ch);
|
||||
}
|
||||
|
||||
void canvas_draw_icon_bitmap(
|
||||
Canvas* canvas,
|
||||
uint8_t x,
|
||||
uint8_t y,
|
||||
int16_t w,
|
||||
int16_t h,
|
||||
const Icon* icon) {
|
||||
furi_assert(canvas);
|
||||
furi_assert(icon);
|
||||
|
||||
x += canvas->offset_x;
|
||||
y += canvas->offset_y;
|
||||
uint8_t* icon_data = NULL;
|
||||
compress_icon_decode(canvas->compress_icon, icon_get_data(icon), &icon_data);
|
||||
u8g2_DrawXBM(&canvas->fb, x, y, w, h, icon_data);
|
||||
}
|
||||
|
||||
void canvas_set_bitmap_mode(Canvas* canvas, bool alpha) {
|
||||
u8g2_SetBitmapMode(&canvas->fb, alpha ? 1 : 0);
|
||||
}
|
||||
|
||||
@@ -424,14 +424,6 @@ void canvas_draw_rbox(
|
||||
uint8_t height,
|
||||
uint8_t radius);
|
||||
|
||||
void canvas_draw_icon_bitmap(
|
||||
Canvas* canvas,
|
||||
uint8_t x,
|
||||
uint8_t y,
|
||||
int16_t w,
|
||||
int16_t h,
|
||||
const Icon* icon);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -92,17 +92,6 @@ ButtonPanel* button_panel_alloc() {
|
||||
return button_panel;
|
||||
}
|
||||
|
||||
void button_panel_reset_selection(ButtonPanel* button_panel) {
|
||||
with_view_model(
|
||||
button_panel->view,
|
||||
ButtonPanelModel * model,
|
||||
{
|
||||
model->selected_item_x = 0;
|
||||
model->selected_item_y = 0;
|
||||
},
|
||||
true);
|
||||
}
|
||||
|
||||
void button_panel_reserve(ButtonPanel* button_panel, size_t reserve_x, size_t reserve_y) {
|
||||
furi_check(reserve_x > 0);
|
||||
furi_check(reserve_y > 0);
|
||||
|
||||
@@ -35,12 +35,6 @@ void button_panel_free(ButtonPanel* button_panel);
|
||||
*/
|
||||
void button_panel_reset(ButtonPanel* button_panel);
|
||||
|
||||
/** Resets selected_item_x and selected_item_y.
|
||||
*
|
||||
* @param button_panel ButtonPanel instance
|
||||
*/
|
||||
void button_panel_reset_selection(ButtonPanel* button_panel);
|
||||
|
||||
/** Reserve space for adding items.
|
||||
*
|
||||
* One does not simply use button_panel_add_item() without this function. It
|
||||
|
||||
@@ -690,7 +690,7 @@ Function,+,ble_glue_start,_Bool,
|
||||
Function,+,ble_glue_thread_stop,void,
|
||||
Function,+,ble_glue_wait_for_c2_start,_Bool,int32_t
|
||||
Function,-,bsearch,void*,"const void*, const void*, size_t, size_t, __compar_fn_t"
|
||||
Function,+,bt_close_rpc_connection,void,Bt*
|
||||
Function,-,bt_close_rpc_connection,void,Bt*
|
||||
Function,+,bt_disable_peer_key_update,void,Bt*
|
||||
Function,+,bt_disconnect,void,Bt*
|
||||
Function,+,bt_enable_peer_key_update,void,Bt*
|
||||
@@ -700,7 +700,7 @@ Function,+,bt_get_profile_mac_address,const uint8_t*,Bt*
|
||||
Function,+,bt_get_profile_pairing_method,GapPairing,Bt*
|
||||
Function,+,bt_keys_storage_set_default_path,void,Bt*
|
||||
Function,+,bt_keys_storage_set_storage_path,void,"Bt*, const char*"
|
||||
Function,+,bt_open_rpc_connection,void,Bt*
|
||||
Function,-,bt_open_rpc_connection,void,Bt*
|
||||
Function,+,bt_remote_rssi,_Bool,"Bt*, uint8_t*"
|
||||
Function,+,bt_set_profile,_Bool,"Bt*, BtProfile"
|
||||
Function,+,bt_set_profile_adv_name,void,"Bt*, const char*, ..."
|
||||
@@ -727,7 +727,6 @@ Function,+,button_panel_free,void,ButtonPanel*
|
||||
Function,+,button_panel_get_view,View*,ButtonPanel*
|
||||
Function,+,button_panel_reserve,void,"ButtonPanel*, size_t, size_t"
|
||||
Function,+,button_panel_reset,void,ButtonPanel*
|
||||
Function,+,button_panel_reset_selection,void,ButtonPanel*
|
||||
Function,+,byte_input_alloc,ByteInput*,
|
||||
Function,+,byte_input_free,void,ByteInput*
|
||||
Function,+,byte_input_get_view,View*,ByteInput*
|
||||
@@ -748,7 +747,6 @@ Function,+,canvas_draw_frame,void,"Canvas*, uint8_t, uint8_t, uint8_t, uint8_t"
|
||||
Function,+,canvas_draw_glyph,void,"Canvas*, uint8_t, uint8_t, uint16_t"
|
||||
Function,+,canvas_draw_icon,void,"Canvas*, uint8_t, uint8_t, const Icon*"
|
||||
Function,+,canvas_draw_icon_animation,void,"Canvas*, uint8_t, uint8_t, IconAnimation*"
|
||||
Function,+,canvas_draw_icon_bitmap,void,"Canvas*, uint8_t, uint8_t, int16_t, int16_t, const Icon*"
|
||||
Function,+,canvas_draw_icon_ex,void,"Canvas*, uint8_t, uint8_t, const Icon*, IconRotation"
|
||||
Function,+,canvas_draw_line,void,"Canvas*, uint8_t, uint8_t, uint8_t, uint8_t"
|
||||
Function,+,canvas_draw_rbox,void,"Canvas*, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t"
|
||||
@@ -3431,7 +3429,7 @@ Function,-,vdiprintf,int,"int, const char*, __gnuc_va_list"
|
||||
Function,-,vdprintf,int,"int, const char*, __gnuc_va_list"
|
||||
Function,+,version_get,const Version*,
|
||||
Function,+,version_get_builddate,const char*,const Version*
|
||||
Function,+,version_get_custom_name,const char*,const Version*
|
||||
Function,-,version_get_custom_name,const char*,const Version*
|
||||
Function,+,version_get_dirty_flag,_Bool,const Version*
|
||||
Function,+,version_get_firmware_origin,const char*,const Version*
|
||||
Function,+,version_get_git_origin,const char*,const Version*
|
||||
|
||||
|
Reference in New Issue
Block a user