Same text in universal menu and title

This commit is contained in:
Willy-JL
2023-08-28 05:07:38 +02:00
parent c9db246515
commit 87eb1a1830
8 changed files with 8 additions and 8 deletions

View File

@@ -121,7 +121,7 @@ void infrared_scene_universal_ac_on_enter(void* context) {
button_panel_add_icon(button_panel, 0, 60, &I_cool_30x51);
button_panel_add_icon(button_panel, 34, 60, &I_heat_30x51);
button_panel_add_label(button_panel, 4, 10, FontPrimary, "AC remote");
button_panel_add_label(button_panel, 22, 10, FontPrimary, "ACs");
view_set_orientation(view_stack_get_view(infrared->view_stack), ViewOrientationVertical);
view_dispatcher_switch_to_view(infrared->view_dispatcher, InfraredViewStack);

View File

@@ -116,7 +116,7 @@ void infrared_scene_universal_audio_on_enter(void* context) {
context);
infrared_brute_force_add_record(brute_force, i++, "Vol_up");
button_panel_add_label(button_panel, 1, 10, FontPrimary, "Mus. remote");
button_panel_add_label(button_panel, 18, 10, FontPrimary, "Audio");
button_panel_add_icon(button_panel, 34, 56, &I_vol_ac_text_30x30);
view_set_orientation(view_stack_get_view(infrared->view_stack), ViewOrientationVertical);

View File

@@ -69,7 +69,7 @@ void infrared_scene_universal_digital_sign_on_enter(void* context) {
button_panel_add_icon(button_panel, 38, 80, &I_stop_text_19x5);
infrared_brute_force_add_record(brute_force, i++, "STOP");
button_panel_add_label(button_panel, 6, 11, FontPrimary, "Digital Sign");
button_panel_add_label(button_panel, 1, 11, FontPrimary, "Digital Signs");
view_set_orientation(view_stack_get_view(infrared->view_stack), ViewOrientationVertical);
view_dispatcher_switch_to_view(infrared->view_dispatcher, InfraredViewStack);

View File

@@ -94,7 +94,7 @@ void infrared_scene_universal_fan_on_enter(void* context) {
infrared_brute_force_add_record(brute_force, i++, "Timer");
button_panel_add_icon(button_panel, 4, 109, &I_timer_text_23x5);
button_panel_add_label(button_panel, 5, 11, FontPrimary, "Fan remote");
button_panel_add_label(button_panel, 20, 11, FontPrimary, "Fans");
button_panel_add_icon(button_panel, 34, 68, &I_speed_text_30x30);
view_set_orientation(view_stack_get_view(infrared->view_stack), ViewOrientationVertical);

View File

@@ -69,7 +69,7 @@ void infrared_scene_universal_led_on_enter(void* context) {
button_panel_add_icon(button_panel, 6, 75, &I_flash_text_21x5);
infrared_brute_force_add_record(brute_force, i++, "FLASH");
button_panel_add_label(button_panel, 5, 11, FontPrimary, "LED Remote");
button_panel_add_label(button_panel, 21, 11, FontPrimary, "LEDs");
view_set_orientation(view_stack_get_view(infrared->view_stack), ViewOrientationVertical);
view_dispatcher_switch_to_view(infrared->view_dispatcher, InfraredViewStack);

View File

@@ -70,7 +70,7 @@ void infrared_scene_universal_monitor_on_enter(void* context) {
button_panel_add_icon(button_panel, 39, 80, &I_exit_text_18x5);
infrared_brute_force_add_record(brute_force, i++, "EXIT");
button_panel_add_label(button_panel, 11, 11, FontPrimary, "Monitor");
button_panel_add_label(button_panel, 10, 11, FontPrimary, "Monitors");
view_set_orientation(view_stack_get_view(infrared->view_stack), ViewOrientationVertical);
view_dispatcher_switch_to_view(infrared->view_dispatcher, InfraredViewStack);

View File

@@ -91,7 +91,7 @@ void infrared_scene_universal_projector_on_enter(void* context) {
infrared_brute_force_add_record(brute_force, i++, "Pause");
button_panel_add_icon(button_panel, 4, 109, &I_pause_text_23x5);
button_panel_add_label(button_panel, 3, 11, FontPrimary, "Proj. remote");
button_panel_add_label(button_panel, 7, 11, FontPrimary, "Projectors");
button_panel_add_icon(button_panel, 34, 68, &I_vol_ac_text_30x30);
view_set_orientation(view_stack_get_view(infrared->view_stack), ViewOrientationVertical);

View File

@@ -93,7 +93,7 @@ void infrared_scene_universal_tv_on_enter(void* context) {
context);
infrared_brute_force_add_record(brute_force, i++, "Ch_prev");
button_panel_add_label(button_panel, 5, 10, FontPrimary, "TV remote");
button_panel_add_label(button_panel, 22, 10, FontPrimary, "TVs");
view_set_orientation(view_stack_get_view(infrared->view_stack), ViewOrientationVertical);
view_dispatcher_switch_to_view(infrared->view_dispatcher, InfraredViewStack);