Add exit label to keyboard connection screen (#1830)
* Add exit label to keyboard connection screen (resolves #1814) * BtHid: align baselines on connection screen Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
parent
72b3d7f414
commit
dde18cd343
@ -209,6 +209,11 @@ static void bt_hid_keyboard_draw_callback(Canvas* canvas, void* context) {
|
|||||||
canvas_draw_icon(canvas, 0, 0, &I_Ble_disconnected_15x15);
|
canvas_draw_icon(canvas, 0, 0, &I_Ble_disconnected_15x15);
|
||||||
canvas_set_font(canvas, FontPrimary);
|
canvas_set_font(canvas, FontPrimary);
|
||||||
elements_multiline_text_aligned(canvas, 17, 3, AlignLeft, AlignTop, "Keyboard");
|
elements_multiline_text_aligned(canvas, 17, 3, AlignLeft, AlignTop, "Keyboard");
|
||||||
|
|
||||||
|
canvas_draw_icon(canvas, 68, 3, &I_Pin_back_arrow_10x8);
|
||||||
|
canvas_set_font(canvas, FontSecondary);
|
||||||
|
elements_multiline_text_aligned(canvas, 127, 4, AlignRight, AlignTop, "Hold to exit");
|
||||||
|
|
||||||
elements_multiline_text_aligned(
|
elements_multiline_text_aligned(
|
||||||
canvas, 4, 60, AlignLeft, AlignBottom, "Waiting for Connection...");
|
canvas, 4, 60, AlignLeft, AlignBottom, "Waiting for Connection...");
|
||||||
return; // Dont render the keyboard if we are not yet connected
|
return; // Dont render the keyboard if we are not yet connected
|
||||||
|
Loading…
Reference in New Issue
Block a user