Update extra ir remotes to new style

This commit is contained in:
Willy-JL
2023-08-28 05:00:36 +02:00
parent 17a6822a09
commit ba9364b444
26 changed files with 77 additions and 53 deletions

View File

@@ -18,52 +18,58 @@ void infrared_scene_universal_digital_sign_on_enter(void* context) {
i,
0,
0,
3,
19,
6,
24,
&I_power_19x20,
&I_power_hover_19x20,
infrared_scene_universal_common_item_callback,
context);
button_panel_add_icon(button_panel, 4, 46, &I_power_text_24x5);
infrared_brute_force_add_record(brute_force, i++, "POWER");
button_panel_add_item(
button_panel,
i,
1,
0,
36,
19,
&I_Input_25x27,
&I_Input_hvr_25x27,
38,
24,
&I_input_19x20,
&I_input_hover_19x20,
infrared_scene_universal_common_item_callback,
context);
button_panel_add_icon(button_panel, 36, 46, &I_input_text_24x5);
infrared_brute_force_add_record(brute_force, i++, "SOURCE");
button_panel_add_item(
button_panel,
i,
0,
1,
3,
64,
&I_Play_25x27,
&I_Play_hvr_25x27,
6,
58,
&I_play_19x20,
&I_play_hover_19x20,
infrared_scene_universal_common_item_callback,
context);
button_panel_add_icon(button_panel, 6, 80, &I_play_text_19x5);
infrared_brute_force_add_record(brute_force, i++, "PLAY");
button_panel_add_item(
button_panel,
i,
1,
1,
36,
64,
&I_Stop_25x27,
&I_Stop_hvr_25x27,
38,
58,
&I_stop_19x20,
&I_stop_hover_19x20,
infrared_scene_universal_common_item_callback,
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, 17, 60, FontSecondary, "Control");
view_set_orientation(view_stack_get_view(infrared->view_stack), ViewOrientationVertical);
view_dispatcher_switch_to_view(infrared->view_dispatcher, InfraredViewStack);

View File

@@ -18,52 +18,58 @@ void infrared_scene_universal_led_on_enter(void* context) {
i,
0,
0,
3,
19,
6,
24,
&I_power_19x20,
&I_power_hover_19x20,
infrared_scene_universal_common_item_callback,
context);
button_panel_add_icon(button_panel, 4, 46, &I_power_text_24x5);
infrared_brute_force_add_record(brute_force, i++, "POWER");
button_panel_add_item(
button_panel,
i,
1,
0,
36,
19,
&I_Flash_25x27,
&I_Flash_hvr_25x27,
infrared_scene_universal_common_item_callback,
context);
infrared_brute_force_add_record(brute_force, i++, "FLASH");
button_panel_add_item(
button_panel,
i,
0,
1,
3,
64,
37,
21,
&I_volup_24x21,
&I_volup_hover_24x21,
infrared_scene_universal_common_item_callback,
context);
infrared_brute_force_add_record(brute_force, i++, "BRIGHTNESS+");
button_panel_add_item(
button_panel,
i,
1,
1,
36,
64,
37,
55,
&I_voldown_24x21,
&I_voldown_hover_24x21,
infrared_scene_universal_common_item_callback,
context);
infrared_brute_force_add_record(brute_force, i++, "BRIGHTNESS-");
button_panel_add_icon(button_panel, 34, 34, &I_bright_text_30x30);
button_panel_add_item(
button_panel,
i,
0,
1,
6,
53,
&I_flash_19x20,
&I_flash_hover_19x20,
infrared_scene_universal_common_item_callback,
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, 13, 60, FontSecondary, "Brightness");
view_set_orientation(view_stack_get_view(infrared->view_stack), ViewOrientationVertical);
view_dispatcher_switch_to_view(infrared->view_dispatcher, InfraredViewStack);

View File

@@ -19,52 +19,58 @@ void infrared_scene_universal_monitor_on_enter(void* context) {
i,
0,
0,
3,
6,
24,
&I_power_19x20,
&I_power_hover_19x20,
infrared_scene_universal_common_item_callback,
context);
button_panel_add_icon(button_panel, 4, 46, &I_power_text_24x5);
infrared_brute_force_add_record(brute_force, i++, "POWER");
button_panel_add_item(
button_panel,
i,
1,
0,
36,
38,
24,
&I_Input_25x27,
&I_Input_hvr_25x27,
&I_input_19x20,
&I_input_hover_19x20,
infrared_scene_universal_common_item_callback,
context);
button_panel_add_icon(button_panel, 36, 46, &I_input_text_24x5);
infrared_brute_force_add_record(brute_force, i++, "SOURCE");
button_panel_add_item(
button_panel,
i,
0,
1,
3,
66,
6,
58,
&I_mode_19x20,
&I_mode_hover_19x20,
infrared_scene_universal_common_item_callback,
context);
button_panel_add_icon(button_panel, 6, 80, &I_menu_text_20x5);
infrared_brute_force_add_record(brute_force, i++, "MENU");
button_panel_add_item(
button_panel,
i,
1,
1,
36,
66,
&I_Exit_25x27,
&I_Exit_hvr_25x27,
38,
58,
&I_exit_19x20,
&I_exit_hover_19x20,
infrared_scene_universal_common_item_callback,
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, 19, 60, FontSecondary, "Menu");
view_set_orientation(view_stack_get_view(infrared->view_stack), ViewOrientationVertical);
view_dispatcher_switch_to_view(infrared->view_dispatcher, InfraredViewStack);