This commit is contained in:
MX 2023-02-02 13:20:58 +03:00
parent fbe7209817
commit 05641378d9
No known key found for this signature in database
GPG key ID: 7CCC66B7DBDD1C83
2 changed files with 4 additions and 1 deletions

View file

@ -49,6 +49,8 @@ static void hid_mouse_jiggler_draw_callback(Canvas* canvas, void* context) {
canvas_draw_icon(canvas, 80, 19, &I_ButtonRight_4x7);
elements_multiline_text(canvas, 91, 26, furi_string_get_cstr(interval_str));
furi_string_free(interval_str);
canvas_set_font(canvas, FontPrimary);
elements_multiline_text(canvas, AlignLeft, 40, "Press Start\nto jiggle");
canvas_set_font(canvas, FontSecondary);

View file

@ -33,13 +33,14 @@ static void hid_mouse_jiggler_draw_callback(Canvas* canvas, void* context) {
// Timeout
FuriString* interval_str = furi_string_alloc_printf("%d", intervals[model->interval_idx]);
elements_multiline_text(canvas, AlignLeft, 26, "Interval (ms):");
elements_multiline_text(canvas, AlignLeft, 26, "Interval (ms):");
canvas_set_font(canvas, FontSecondary);
if(model->interval_idx != 0) canvas_draw_icon(canvas, 74, 19, &I_ButtonLeft_4x7);
if(model->interval_idx != LENGTH(intervals) - 1)
canvas_draw_icon(canvas, 80, 19, &I_ButtonRight_4x7);
elements_multiline_text(canvas, 91, 26, furi_string_get_cstr(interval_str));
furi_string_free(interval_str);
canvas_set_font(canvas, FontPrimary);
elements_multiline_text(canvas, AlignLeft, 40, "Press Start\nto jiggle");
canvas_set_font(canvas, FontSecondary);