Skip to content

Commit f36d2a9

Browse files
authored
Merge pull request #294 from meshtastic/heltec-v4-rotate
feat: Heltec v4 screen rotation
2 parents 622b034 + b6b7346 commit f36d2a9

110 files changed

Lines changed: 100673 additions & 56 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

generated/ui_240x320/actions.h

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#ifndef EEZ_LVGL_UI_EVENTS_H
2+
#define EEZ_LVGL_UI_EVENTS_H
3+
4+
#include "lvgl.h"
5+
6+
#include <lvgl.h>
7+
8+
#ifdef __cplusplus
9+
extern "C" {
10+
#endif
11+
12+
13+
14+
#ifdef __cplusplus
15+
}
16+
#endif
17+
18+
#endif /*EEZ_LVGL_UI_EVENTS_H*/

generated/ui_240x320/fonts.h

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#ifndef EEZ_LVGL_UI_FONTS_H
2+
#define EEZ_LVGL_UI_FONTS_H
3+
4+
#include "lvgl.h"
5+
6+
#include <lvgl.h>
7+
8+
#ifdef __cplusplus
9+
extern "C" {
10+
#endif
11+
12+
extern const lv_font_t ui_font_montserrat_12;
13+
extern const lv_font_t ui_font_montserrat_14;
14+
extern const lv_font_t ui_font_montserrat_16;
15+
extern const lv_font_t ui_font_montserrat_20;
16+
17+
18+
#ifdef __cplusplus
19+
}
20+
#endif
21+
22+
#endif /*EEZ_LVGL_UI_FONTS_H*/

generated/ui_240x320/images.c

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
#include "images.h"
2+
3+
const ext_img_desc_t images[88] = {
4+
{ "battery_full_image", &img_battery_full_image },
5+
{ "bluetooth_on_image", &img_bluetooth_on_image },
6+
{ "debug_log_image", &img_debug_log_image },
7+
{ "gps_location_image", &img_gps_location_image },
8+
{ "groups_button_image", &img_groups_button_image },
9+
{ "home_bell_image", &img_home_bell_image },
10+
{ "home_bluetooth_on_button_image", &img_home_bluetooth_on_button_image },
11+
{ "home_button_image", &img_home_button_image },
12+
{ "home_clock_image", &img_home_clock_image },
13+
{ "home_ethernet_button_image", &img_home_ethernet_button_image },
14+
{ "home_location_button_image", &img_home_location_button_image },
15+
{ "home_lora_image", &img_home_lora_image },
16+
{ "home_mail_button_image", &img_home_mail_button_image },
17+
{ "home_memory_button", &img_home_memory_button },
18+
{ "home_no_signal_image", &img_home_no_signal_image },
19+
{ "home_nodes_button_image", &img_home_nodes_button_image },
20+
{ "home_qr_button_image", &img_home_qr_button_image },
21+
{ "home_sd_card_image", &img_home_sd_card_image },
22+
{ "home_wlan_off_image", &img_home_wlan_off_image },
23+
{ "hourgalss_start_image", &img_hourgalss_start_image },
24+
{ "key_generate_image", &img_key_generate_image },
25+
{ "keyboard_image", &img_keyboard_image },
26+
{ "knob_logo_image", &img_knob_logo_image },
27+
{ "location_lock_image", &img_location_lock_image },
28+
{ "location_pin_image", &img_location_pin_image },
29+
{ "lock_channel_image", &img_lock_channel_image },
30+
{ "map_button_image", &img_map_button_image },
31+
{ "meshtastic_boot_logo_image", &img_meshtastic_boot_logo_image },
32+
{ "meshtastic_logo_image", &img_meshtastic_logo_image },
33+
{ "messages_button_image", &img_messages_button_image },
34+
{ "mqtt_logo2_image", &img_mqtt_logo2_image },
35+
{ "msg_popup_button_image", &img_msg_popup_button_image },
36+
{ "nav_down_image", &img_nav_down_image },
37+
{ "nav_home_image", &img_nav_home_image },
38+
{ "nav_left_image", &img_nav_left_image },
39+
{ "nav_right_image", &img_nav_right_image },
40+
{ "nav_up_image", &img_nav_up_image },
41+
{ "node_client_image", &img_node_client_image },
42+
{ "node_sensor_image", &img_node_sensor_image },
43+
{ "nodes_button_image", &img_nodes_button_image },
44+
{ "radar_beam_image", &img_radar_beam_image },
45+
{ "reboot_BT_on_image", &img_reboot_bt_on_image },
46+
{ "reboot_image", &img_reboot_image },
47+
{ "settings_button_image", &img_settings_button_image },
48+
{ "settings_trash_image", &img_settings_trash_image },
49+
{ "shutdown_image", &img_shutdown_image },
50+
{ "signal_full_image", &img_signal_full_image },
51+
{ "signal_slider_image", &img_signal_slider_image },
52+
{ "top_chart_image", &img_top_chart_image },
53+
{ "top_chats_image", &img_top_chats_image },
54+
{ "top_group_image", &img_top_group_image },
55+
{ "top_loop_image", &img_top_loop_image },
56+
{ "top_lora_image", &img_top_lora_image },
57+
{ "top_map_image", &img_top_map_image },
58+
{ "top_neighbors_image", &img_top_neighbors_image },
59+
{ "top_node_detector_image", &img_top_node_detector_image },
60+
{ "top_nodes_image", &img_top_nodes_image },
61+
{ "top_settings_image", &img_top_settings_image },
62+
{ "user_question_image", &img_user_question_image },
63+
{ "zoom_minus_image", &img_zoom_minus_image },
64+
{ "zoom_plus_image", &img_zoom_plus_image },
65+
{ "node_location_pin24_image", &img_node_location_pin24_image },
66+
{ "home_signal_button_image", &img_home_signal_button_image },
67+
{ "home_weak_signal_image", &img_home_weak_signal_image },
68+
{ "home_fair_signal_image", &img_home_fair_signal_image },
69+
{ "home_strong_signal_image", &img_home_strong_signal_image },
70+
{ "home_good_signal_image", &img_home_good_signal_image },
71+
{ "battery_mid_image", &img_battery_mid_image },
72+
{ "battery_low_image", &img_battery_low_image },
73+
{ "battery_bolt_image", &img_battery_bolt_image },
74+
{ "battery_empty_image", &img_battery_empty_image },
75+
{ "battery_plug_image", &img_battery_plug_image },
76+
{ "home_wlan_button_image", &img_home_wlan_button_image },
77+
{ "home_bluetooth_off_button_image", &img_home_bluetooth_off_button_image },
78+
{ "groups_key_image", &img_groups_key_image },
79+
{ "groups_unlock_image", &img_groups_unlock_image },
80+
{ "circle_question_image", &img_circle_question_image },
81+
{ "groups_lock_image", &img_groups_lock_image },
82+
{ "groups_bell_slash_image", &img_groups_bell_slash_image },
83+
{ "groups_bell_image", &img_groups_bell_image },
84+
{ "battery_empty_warn_image", &img_battery_empty_warn_image },
85+
{ "node_router_image", &img_node_router_image },
86+
{ "home_mail_unread_button_image", &img_home_mail_unread_button_image },
87+
{ "lock_secure_image", &img_lock_secure_image },
88+
{ "lock_slash_image", &img_lock_slash_image },
89+
{ "unmessagable_image", &img_unmessagable_image },
90+
{ "no_tile_image", &img_no_tile_image },
91+
{ "circle_image", &img_circle_image },
92+
};

generated/ui_240x320/images.h

Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
#ifndef EEZ_LVGL_UI_IMAGES_H
2+
#define EEZ_LVGL_UI_IMAGES_H
3+
4+
#include "lvgl.h"
5+
6+
#include <lvgl.h>
7+
8+
#ifdef __cplusplus
9+
extern "C" {
10+
#endif
11+
12+
extern const lv_img_dsc_t img_battery_full_image;
13+
extern const lv_img_dsc_t img_bluetooth_on_image;
14+
extern const lv_img_dsc_t img_debug_log_image;
15+
extern const lv_img_dsc_t img_gps_location_image;
16+
extern const lv_img_dsc_t img_groups_button_image;
17+
extern const lv_img_dsc_t img_home_bell_image;
18+
extern const lv_img_dsc_t img_home_bluetooth_on_button_image;
19+
extern const lv_img_dsc_t img_home_button_image;
20+
extern const lv_img_dsc_t img_home_clock_image;
21+
extern const lv_img_dsc_t img_home_ethernet_button_image;
22+
extern const lv_img_dsc_t img_home_location_button_image;
23+
extern const lv_img_dsc_t img_home_lora_image;
24+
extern const lv_img_dsc_t img_home_mail_button_image;
25+
extern const lv_img_dsc_t img_home_memory_button;
26+
extern const lv_img_dsc_t img_home_no_signal_image;
27+
extern const lv_img_dsc_t img_home_nodes_button_image;
28+
extern const lv_img_dsc_t img_home_qr_button_image;
29+
extern const lv_img_dsc_t img_home_sd_card_image;
30+
extern const lv_img_dsc_t img_home_wlan_off_image;
31+
extern const lv_img_dsc_t img_hourgalss_start_image;
32+
extern const lv_img_dsc_t img_key_generate_image;
33+
extern const lv_img_dsc_t img_keyboard_image;
34+
extern const lv_img_dsc_t img_knob_logo_image;
35+
extern const lv_img_dsc_t img_location_lock_image;
36+
extern const lv_img_dsc_t img_location_pin_image;
37+
extern const lv_img_dsc_t img_lock_channel_image;
38+
extern const lv_img_dsc_t img_map_button_image;
39+
extern const lv_img_dsc_t img_meshtastic_boot_logo_image;
40+
extern const lv_img_dsc_t img_meshtastic_logo_image;
41+
extern const lv_img_dsc_t img_messages_button_image;
42+
extern const lv_img_dsc_t img_mqtt_logo2_image;
43+
extern const lv_img_dsc_t img_msg_popup_button_image;
44+
extern const lv_img_dsc_t img_nav_down_image;
45+
extern const lv_img_dsc_t img_nav_home_image;
46+
extern const lv_img_dsc_t img_nav_left_image;
47+
extern const lv_img_dsc_t img_nav_right_image;
48+
extern const lv_img_dsc_t img_nav_up_image;
49+
extern const lv_img_dsc_t img_node_client_image;
50+
extern const lv_img_dsc_t img_node_sensor_image;
51+
extern const lv_img_dsc_t img_nodes_button_image;
52+
extern const lv_img_dsc_t img_radar_beam_image;
53+
extern const lv_img_dsc_t img_reboot_bt_on_image;
54+
extern const lv_img_dsc_t img_reboot_image;
55+
extern const lv_img_dsc_t img_settings_button_image;
56+
extern const lv_img_dsc_t img_settings_trash_image;
57+
extern const lv_img_dsc_t img_shutdown_image;
58+
extern const lv_img_dsc_t img_signal_full_image;
59+
extern const lv_img_dsc_t img_signal_slider_image;
60+
extern const lv_img_dsc_t img_top_chart_image;
61+
extern const lv_img_dsc_t img_top_chats_image;
62+
extern const lv_img_dsc_t img_top_group_image;
63+
extern const lv_img_dsc_t img_top_loop_image;
64+
extern const lv_img_dsc_t img_top_lora_image;
65+
extern const lv_img_dsc_t img_top_map_image;
66+
extern const lv_img_dsc_t img_top_neighbors_image;
67+
extern const lv_img_dsc_t img_top_node_detector_image;
68+
extern const lv_img_dsc_t img_top_nodes_image;
69+
extern const lv_img_dsc_t img_top_settings_image;
70+
extern const lv_img_dsc_t img_user_question_image;
71+
extern const lv_img_dsc_t img_zoom_minus_image;
72+
extern const lv_img_dsc_t img_zoom_plus_image;
73+
extern const lv_img_dsc_t img_node_location_pin24_image;
74+
extern const lv_img_dsc_t img_home_signal_button_image;
75+
extern const lv_img_dsc_t img_home_weak_signal_image;
76+
extern const lv_img_dsc_t img_home_fair_signal_image;
77+
extern const lv_img_dsc_t img_home_strong_signal_image;
78+
extern const lv_img_dsc_t img_home_good_signal_image;
79+
extern const lv_img_dsc_t img_battery_mid_image;
80+
extern const lv_img_dsc_t img_battery_low_image;
81+
extern const lv_img_dsc_t img_battery_bolt_image;
82+
extern const lv_img_dsc_t img_battery_empty_image;
83+
extern const lv_img_dsc_t img_battery_plug_image;
84+
extern const lv_img_dsc_t img_home_wlan_button_image;
85+
extern const lv_img_dsc_t img_home_bluetooth_off_button_image;
86+
extern const lv_img_dsc_t img_groups_key_image;
87+
extern const lv_img_dsc_t img_groups_unlock_image;
88+
extern const lv_img_dsc_t img_circle_question_image;
89+
extern const lv_img_dsc_t img_groups_lock_image;
90+
extern const lv_img_dsc_t img_groups_bell_slash_image;
91+
extern const lv_img_dsc_t img_groups_bell_image;
92+
extern const lv_img_dsc_t img_battery_empty_warn_image;
93+
extern const lv_img_dsc_t img_node_router_image;
94+
extern const lv_img_dsc_t img_home_mail_unread_button_image;
95+
extern const lv_img_dsc_t img_lock_secure_image;
96+
extern const lv_img_dsc_t img_lock_slash_image;
97+
extern const lv_img_dsc_t img_unmessagable_image;
98+
extern const lv_img_dsc_t img_no_tile_image;
99+
extern const lv_img_dsc_t img_circle_image;
100+
101+
#ifndef EXT_IMG_DESC_T
102+
#define EXT_IMG_DESC_T
103+
typedef struct _ext_img_desc_t {
104+
const char *name;
105+
const lv_img_dsc_t *img_dsc;
106+
} ext_img_desc_t;
107+
#endif
108+
109+
extern const ext_img_desc_t images[88];
110+
111+
112+
#ifdef __cplusplus
113+
}
114+
#endif
115+
116+
#endif /*EEZ_LVGL_UI_IMAGES_H*/

0 commit comments

Comments
 (0)